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