Class KerberosUsernamePasswordAuthenticationToken

All Implemented Interfaces:
Serializable, Principal, Authentication, CredentialsContainer, KerberosAuthentication

public class KerberosUsernamePasswordAuthenticationToken extends UsernamePasswordAuthenticationToken implements KerberosAuthentication

Holds the Username/Password as well as the JAAS Subject allowing multi-tier authentications using Kerberos.

The JAAS Subject has in its private credentials the Kerberos tickets for generating new tickets against other service principals using KerberosMultiTier.authenticateService()

See Also:
  • Constructor Details

    • KerberosUsernamePasswordAuthenticationToken

      public KerberosUsernamePasswordAuthenticationToken(Object principal, Object credentials, Collection<? extends GrantedAuthority> authorities, JaasSubjectHolder subjectHolder)

      Creates an authentication token that holds the username and password, and the Subject that the user will need to create new authentication tokens against other services.

      Parameters:
      principal -
      credentials -
      authorities -
      subjectHolder -
  • Method Details