Class KerberosProfile

java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
org.pac4j.kerberos.profile.KerberosProfile
All Implemented Interfaces:
Externalizable, Serializable, org.pac4j.core.profile.UserProfile

public class KerberosProfile extends org.pac4j.core.profile.CommonProfile
Represents a user profile based on a Kerberos authentication.
Since:
2.1.0
Author:
Garry Boyce
See Also:
  • Field Summary

    Fields inherited from class org.pac4j.core.profile.BasicUserProfile

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for KerberosProfile.
    Constructor for KerberosProfile.
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for the field gssContext.

    Methods inherited from class org.pac4j.core.profile.CommonProfile

    getAttributeAsDate, getAttributeAsString, getAttributeAsType, getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername, isExpired, toString

    Methods inherited from class org.pac4j.core.profile.BasicUserProfile

    addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addRole, addRoles, asPrincipal, build, build, canEqual, containsAttribute, containsAuthenticationAttribute, equals, extractAttributeValues, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getRoles, getTypedId, hashCode, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, removeLoginData, setClientName, setId, setLinkedId, setRemembered, setRoles, writeExternal

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • KerberosProfile

      public KerberosProfile()

      Constructor for KerberosProfile.

    • KerberosProfile

      public KerberosProfile(GSSContext gssContext)

      Constructor for KerberosProfile.

      Parameters:
      gssContext - a GSSContext object
  • Method Details

    • getGssContext

      public GSSContext getGssContext()

      Getter for the field gssContext.

      Returns:
      a GSSContext object