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

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-ldap-core/src/main/java/org/apereo/cas/authentication/LdapPasswordSynchronizationAuthenticationPostProcessor.java