protected override ReadOnlyCollection <IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
 {
     if (_wrappedSaml11SecurityTokenAuthenticator.CanValidateToken(token))
     {
         return(_wrappedSaml11SecurityTokenAuthenticator.ValidateToken(token));
     }
     else if (_wrappedSaml2SecurityTokenAuthenticator.CanValidateToken(token))
     {
         return(_wrappedSaml2SecurityTokenAuthenticator.ValidateToken(token));
     }
     else
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.ID4101, token.GetType().ToString())));
     }
 }