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

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-generic-remote-webflow/src/main/java/org/apereo/cas/adaptors/generic/remote/RemoteCookieAuthenticationHandler.java