Class KerberosAuthenticator
- java.lang.Object
-
- org.pac4j.kerberos.credentials.authenticator.KerberosAuthenticator
-
- All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator
public class KerberosAuthenticator extends java.lang.Object implements org.pac4j.core.credentials.authenticator.AuthenticatorAuthenticator for Kerberos. It creates the user profile and stores it in the credentials for theAuthenticatorProfileCreator.- Since:
- 2.1.0
- Author:
- Garry Boyce
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerloggerprotected KerberosTicketValidatorticketValidator
-
Constructor Summary
Constructors Constructor Description KerberosAuthenticator(KerberosTicketValidator ticketValidator)Initializes the authenticator that will validate Kerberos tickets.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
ticketValidator
protected KerberosTicketValidator ticketValidator
-
-
Constructor Detail
-
KerberosAuthenticator
public KerberosAuthenticator(KerberosTicketValidator ticketValidator)
Initializes the authenticator that will validate Kerberos tickets.- Parameters:
ticketValidator- The ticket validator used to validate the Kerberos ticket.- Since:
- 2.1.0
-
-