Class SPNEGOAuthenticator
java.lang.Object
org.keycloak.federation.kerberos.impl.SPNEGOAuthenticator
- Author:
- Marek Posolda
-
Constructor Summary
ConstructorsConstructorDescriptionSPNEGOAuthenticator(CommonKerberosConfig kerberosConfig, KerberosServerSubjectAuthenticator kerberosSubjectAuthenticator, String spnegoToken) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected GSSContextbooleanprotected voidlogAuthDetails(GSSContext gssContext)
-
Constructor Details
-
SPNEGOAuthenticator
public SPNEGOAuthenticator(CommonKerberosConfig kerberosConfig, KerberosServerSubjectAuthenticator kerberosSubjectAuthenticator, String spnegoToken)
-
-
Method Details
-
authenticate
public void authenticate() -
isAuthenticated
public boolean isAuthenticated() -
getResponseToken
-
getSerializedDelegationCredential
-
getAuthenticatedKerberosPrincipal
- Returns:
- kerberos principal to be used in Keycloak
-
establishContext
- Throws:
GSSExceptionIOException
-
logAuthDetails
- Throws:
GSSException
-