@Override
    public boolean supports(final Credential credential) {
        return credential instanceof BasicIdentifiableCredential;
    }
This is {@link TokenAuthenticationHandler} that authenticates instances of {@link TokenCredential}.
There is no need for a separate {@link PrincipalResolver} component
as this handler will auto-populate the principal attributes itself.

@author Misagh Moayyed
@since 4.2.0
support/cas-server-support-token-authentication/src/main/java/org/apereo/cas/token/authentication/TokenAuthenticationHandler.java