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

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-pm-core/src/main/java/org/apereo/cas/pm/impl/RestfulPasswordSynchronizationAuthenticationPostProcessor.java