code: @Override
      public boolean supports(final Credential credentials) {
          return credentials != null && WsFederationCredential.class.isAssignableFrom(credentials.getClass());
      }
docs: Determines if this handler can support the credentials provided.
  
  @param credentials the credentials to test
  @return true if supported, otherwise false