Search in sources :

Example 1 with OidcAuthenticator

use of org.pac4j.oidc.credentials.authenticator.OidcAuthenticator in project pac4j by pac4j.

the class OidcClient method clientInit.

@Override
protected void clientInit() {
    CommonHelper.assertNotNull("configuration", configuration);
    configuration.init();
    defaultRedirectActionBuilder(new OidcRedirectActionBuilder(configuration, this));
    defaultCredentialsExtractor(new OidcExtractor(configuration, this));
    defaultAuthenticator(new OidcAuthenticator(configuration, this));
    defaultProfileCreator(new OidcProfileCreator<>(configuration));
    defaultLogoutActionBuilder(new OidcLogoutActionBuilder<U>(configuration));
}
Also used : OidcExtractor(org.pac4j.oidc.credentials.extractor.OidcExtractor) OidcRedirectActionBuilder(org.pac4j.oidc.redirect.OidcRedirectActionBuilder) OidcAuthenticator(org.pac4j.oidc.credentials.authenticator.OidcAuthenticator)

Aggregations

OidcAuthenticator (org.pac4j.oidc.credentials.authenticator.OidcAuthenticator)1 OidcExtractor (org.pac4j.oidc.credentials.extractor.OidcExtractor)1 OidcRedirectActionBuilder (org.pac4j.oidc.redirect.OidcRedirectActionBuilder)1