@Override
    public boolean supports(final Set<AuthenticationHandler> handlers, final AuthenticationTransaction transaction) {
        return credentials.stream().anyMatch(transaction::hasCredentialOfType);
    }
This is {@link ByCredentialTypeAuthenticationHandlerResolver}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/handler/ByCredentialTypeAuthenticationHandlerResolver.java