Class KerberosUsernamePasswordAuthenticationToken

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.UsernamePasswordAuthenticationToken
org.springframework.security.kerberos.authentication.KerberosUsernamePasswordAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer, KerberosAuthentication

public class KerberosUsernamePasswordAuthenticationToken extends org.springframework.security.authentication.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 Summary

    Constructors
    Constructor
    Description
    KerberosUsernamePasswordAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.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.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken

    authenticated, eraseCredentials, getCredentials, getPrincipal, setAuthenticated, unauthenticated

    Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.security.Principal

    implies
  • Constructor Details

    • KerberosUsernamePasswordAuthenticationToken

      public KerberosUsernamePasswordAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.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