SimpleCredentialsMatcher.getCredentials

Returns the {@code token}'s credentials. <p/> <p>This default implementation merely returns {@link AuthenticationToken#getCredentials() authenticationToken.getCredentials()} and exists as a template hook if subclasses wish to obtain the credentials in a different way or convert them to a different format before returning.

@param token the {@code AuthenticationToken} submitted during the authentication attempt. @return the {@code token}'s associated credentials.

  1. char[] getCredentials(AuthenticationToken token)
    class SimpleCredentialsMatcher
    protected
    char[]
    getCredentials
  2. Object getCredentials(AuthenticationInfo info)

Meta