Class JaasSubjectHolder

java.lang.Object
org.springframework.security.kerberos.authentication.JaasSubjectHolder
All Implemented Interfaces:
Serializable

public class JaasSubjectHolder extends Object implements Serializable

Holds the Subject of the currently authenticated user, since this Jaas object also has the credentials, and permits creating new credentials against other Kerberos services.

See Also:
  • Constructor Details

    • JaasSubjectHolder

      public JaasSubjectHolder(Subject jaasSubject)
    • JaasSubjectHolder

      public JaasSubjectHolder(Subject jaasSubject, String username)
  • Method Details

    • getUsername

      public String getUsername()
    • getJaasSubject

      public Subject getJaasSubject()
    • addToken

      public void addToken(String targetService, byte[] outToken)
    • getToken

      public byte[] getToken(String principalName)