Package org.keycloak.common.util
Class KerberosSerializationUtils
- java.lang.Object
-
- org.keycloak.common.util.KerberosSerializationUtils
-
public class KerberosSerializationUtils extends Object
Provides serialization/deserialization of kerberosGSSCredential
, 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
Nested Classes Modifier and Type Class Description static class
KerberosSerializationUtils.KerberosSerializationException
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GSSCredential
deserializeCredential(String serializedCred)
static String
serializeCredential(KerberosTicket kerberosTicket, GSSCredential gssCredential)
-
-
-
Field Detail
-
JAVA_INFO
public static final String JAVA_INFO
-
-
Method Detail
-
serializeCredential
public static String serializeCredential(KerberosTicket kerberosTicket, GSSCredential gssCredential) throws KerberosSerializationUtils.KerberosSerializationException
-
deserializeCredential
public static GSSCredential deserializeCredential(String serializedCred) throws KerberosSerializationUtils.KerberosSerializationException
-
-