Class KerberosTicketValidation

java.lang.Object
org.pac4j.kerberos.credentials.authenticator.KerberosTicketValidation

public class KerberosTicketValidation extends Object
Result of ticket validation
Since:
2.1.0
Author:
Garry Boyce
  • Constructor Details

    • KerberosTicketValidation

      public KerberosTicketValidation(String username, String servicePrincipal, byte[] responseToken, GSSContext gssContext)

      Constructor for KerberosTicketValidation.

      Parameters:
      username - a String object
      servicePrincipal - a String object
      responseToken - an array of byte objects
      gssContext - a GSSContext object
  • Method Details

    • username

      public String username()

      username.

      Returns:
      a String object
    • responseToken

      public byte[] responseToken()

      responseToken.

      Returns:
      an array of byte objects
    • getGssContext

      public GSSContext getGssContext()

      Getter for the field gssContext.

      Returns:
      a GSSContext object
    • subject

      public Subject subject()

      subject.

      Returns:
      a Subject object