Class KerberosMultiTier

java.lang.Object
org.springframework.security.kerberos.authentication.KerberosMultiTier

public class KerberosMultiTier extends Object

Allows creating tickets against other service principals storing the tickets in the KerberosAuthentication's JaasSubjectHolder.

  • Field Details

    • KERBEROS_OID_STRING

      public static final String KERBEROS_OID_STRING
      See Also:
    • KERBEROS_OID

      public static final Oid KERBEROS_OID
  • Constructor Details

    • KerberosMultiTier

      public KerberosMultiTier()
  • Method Details

    • authenticateService

      public static org.springframework.security.core.Authentication authenticateService(org.springframework.security.core.Authentication authentication, String username, int lifetimeInSeconds, String targetService)
      Create a new ticket for the
      Parameters:
      authentication -
      username -
      lifetimeInSeconds -
      targetService -
      Returns:
    • getTokenForService

      public static byte[] getTokenForService(org.springframework.security.core.Authentication authentication, String principalName)