Class KerberosAuthenticator

java.lang.Object
org.pac4j.kerberos.credentials.authenticator.KerberosAuthenticator
All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator

public class KerberosAuthenticator extends Object implements org.pac4j.core.credentials.authenticator.Authenticator
Authenticator for Kerberos. It creates the user profile and stores it in the credentials for the AuthenticatorProfileCreator.
Since:
2.1.0
Author:
Garry Boyce
  • Field Details

    • logger

      protected final org.slf4j.Logger logger
    • ticketValidator

      protected KerberosTicketValidator ticketValidator
  • Constructor Details

    • 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
  • Method Details

    • validate

      public Optional<org.pac4j.core.credentials.Credentials> validate(org.pac4j.core.context.CallContext ctx, org.pac4j.core.credentials.Credentials cred)
      Specified by:
      validate in interface org.pac4j.core.credentials.authenticator.Authenticator