Class SPNEGOAuthenticator
java.lang.Object
org.keycloak.federation.kerberos.impl.SPNEGOAuthenticator
- Author:
- Marek Posolda
-
Constructor Summary
ConstructorDescriptionSPNEGOAuthenticator
(CommonKerberosConfig kerberosConfig, KerberosServerSubjectAuthenticator kerberosSubjectAuthenticator, String spnegoToken) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected GSSContext
boolean
protected void
logAuthDetails
(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:
GSSException
IOException
-
logAuthDetails
- Throws:
GSSException
-