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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.core.AuthenticationauthenticateService(org.springframework.security.core.Authentication authentication, String username, int lifetimeInSeconds, String targetService) Create a new ticket for thestatic byte[]getTokenForService(org.springframework.security.core.Authentication authentication, String principalName)
-
Field Details
-
KERBEROS_OID_STRING
- See Also:
-
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)
-