Class KerberosAuthenticator

  • All Implemented Interfaces:
    org.pac4j.core.credentials.authenticator.Authenticator

    public class KerberosAuthenticator
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validate​(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Method Detail

      • validate

        public void validate​(org.pac4j.core.credentials.Credentials cred,
                             org.pac4j.core.context.WebContext context,
                             org.pac4j.core.context.session.SessionStore sessionStore)
        Specified by:
        validate in interface org.pac4j.core.credentials.authenticator.Authenticator