@Override
    public boolean supports(final Credential credential) {
        return this.registeredPrincipalResolvers.stream().anyMatch(r -> r.supports(credential));
    }
Determines whether the credential is supported by this component by delegating to the first configured
resolver in the chain.

@param credential The credential to check for support.
@return True if the first configured resolver in the chain supports the credential, false otherwise.
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/principal/resolvers/ChainingPrincipalResolver.java