SimpleCredentialsMatcher.getCredentials

Returns the {@code account}'s credentials. <p/> <p>This default implementation merely returns {@link AuthenticationInfo#getCredentials() account.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 info the {@code AuthenticationInfo} stored in the data store to be compared against the submitted authentication token's credentials. @return the {@code account}'s associated credentials.

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

Meta