Class KerberosMultiTier
java.lang.Object
org.springframework.security.kerberos.authentication.KerberosMultiTier
Allows creating tickets against other service principals storing the tickets in the KerberosAuthentication's JaasSubjectHolder.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Authentication
authenticateService
(Authentication authentication, String username, int lifetimeInSeconds, String targetService) Create a new ticket for thestatic byte[]
getTokenForService
(Authentication authentication, String principalName)
-
Field Details
-
KERBEROS_OID_STRING
- See Also:
-
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
-