Package org.pac4j.kerberos.client.direct
Class DirectKerberosClient
- java.lang.Object
-
- org.pac4j.core.util.InitializableObject
-
- org.pac4j.core.client.BaseClient<C>
-
- org.pac4j.core.client.DirectClient<KerberosCredentials>
-
- org.pac4j.kerberos.client.direct.DirectKerberosClient
-
- All Implemented Interfaces:
Client<KerberosCredentials>
public class DirectKerberosClient extends DirectClient<KerberosCredentials>
This class is the client to authenticate users directly based on Kerberos ticket. (i.e. being a direct client it do not redirects to callback URLs).
- Since:
- 2.1.0
- Author:
- Garry Boyce
-
-
Field Summary
-
Fields inherited from class org.pac4j.core.client.BaseClient
logger
-
-
Constructor Summary
Constructors Constructor Description DirectKerberosClient()DirectKerberosClient(Authenticator authenticator)DirectKerberosClient(Authenticator authenticator, ProfileCreator<KerberosCredentials> profileCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclientInit()protected Optional<KerberosCredentials>retrieveCredentials(WebContext context)-
Methods inherited from class org.pac4j.core.client.DirectClient
getCredentials, getLogoutAction, getRedirectionAction, internalInit
-
Methods inherited from class org.pac4j.core.client.BaseClient
addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getProfileFactoryWhenNotAuthenticated, getUserProfile, notifySessionRenewal, renewUserProfile, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreator, setProfileFactoryWhenNotAuthenticated, toString
-
Methods inherited from class org.pac4j.core.util.InitializableObject
init, isInitialized
-
-
-
-
Constructor Detail
-
DirectKerberosClient
public DirectKerberosClient()
-
DirectKerberosClient
public DirectKerberosClient(Authenticator authenticator)
-
DirectKerberosClient
public DirectKerberosClient(Authenticator authenticator, ProfileCreator<KerberosCredentials> profileCreator)
-
-
Method Detail
-
clientInit
protected void clientInit()
- Specified by:
clientInitin classDirectClient<KerberosCredentials>
-
retrieveCredentials
protected Optional<KerberosCredentials> retrieveCredentials(WebContext context)
- Overrides:
retrieveCredentialsin classBaseClient<KerberosCredentials>
-
-