Class KerberosMultiTier

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

public final 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
  • Method Details

    • authenticateService

      public static Authentication authenticateService(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(Authentication authentication, String principalName)