Package org.keycloak.common.util
Class KerberosSerializationUtils
java.lang.Object
org.keycloak.common.util.KerberosSerializationUtils
Provides serialization/deserialization of kerberos
GSSCredential
, so it can be transmitted from auth-server to the application
and used for further calls to kerberos-secured services- Author:
- Marek Posolda
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GSSCredential
deserializeCredential
(String serializedCred) static String
serializeCredential
(KerberosTicket kerberosTicket, GSSCredential gssCredential)
-
Field Details
-
JAVA_INFO
-
-
Method Details
-
serializeCredential
public static String serializeCredential(KerberosTicket kerberosTicket, GSSCredential gssCredential) throws KerberosSerializationUtils.KerberosSerializationException -
deserializeCredential
public static GSSCredential deserializeCredential(String serializedCred) throws KerberosSerializationUtils.KerberosSerializationException
-