@Override
    public boolean supports(final Credential credential) {
        return credential instanceof UsernamePasswordCredential;
    }
We utilize the {@link AuthenticationMetaDataPopulator} to retrieve and store
the password as an authentication attribute under the key
{@link UsernamePasswordCredential#AUTHENTICATION_ATTRIBUTE_PASSWORD}.

@author Misagh Moayyed
@since 4.1
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/metadata/CacheCredentialsMetaDataPopulator.java