use of org.apereo.cas.support.pac4j.authentication.handler.support.ClientAuthenticationHandler in project cas by apereo.
the class Pac4jAuthenticationEventExecutionPlanConfiguration method clientAuthenticationHandler.
@RefreshScope
@Bean
public AuthenticationHandler clientAuthenticationHandler() {
final ClientAuthenticationHandler h = new ClientAuthenticationHandler(casProperties.getAuthn().getPac4j().getName(), servicesManager, clientPrincipalFactory(), builtClients());
h.setTypedIdUsed(casProperties.getAuthn().getPac4j().isTypedIdUsed());
return h;
}
Aggregations