@Override
    public boolean supports(final Credential credential) {
        return credential instanceof UsernamePasswordCredential;
    }
This is {@link CredentialCustomFieldsAttributeMetaDataPopulator}.

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