Package org.keycloak.adapters.jetty.core
Class JettyRequestAuthenticator
java.lang.Object
org.keycloak.adapters.RequestAuthenticator
org.keycloak.adapters.jetty.core.JettyRequestAuthenticator
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.jboss.logging.Loggerprotected org.eclipse.jetty.server.RequestFields inherited from class org.keycloak.adapters.RequestAuthenticator
challenge, deployment, facade, sslRedirectPort, tokenStore -
Constructor Summary
ConstructorsConstructorDescriptionJettyRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, AdapterTokenStore tokenStore, int sslRedirectPort, org.eclipse.jetty.server.Request request) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringchangeHttpSessionId(boolean create) protected voidcompleteBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal, String method) protected voidprotected OAuthRequestAuthenticatorMethods inherited from class org.keycloak.adapters.RequestAuthenticator
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, createQueryParameterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSL
-
Field Details
-
log
protected static final org.jboss.logging.Logger log -
request
protected org.eclipse.jetty.server.Request request -
principal
-
-
Constructor Details
-
JettyRequestAuthenticator
public JettyRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, AdapterTokenStore tokenStore, int sslRedirectPort, org.eclipse.jetty.server.Request request)
-
-
Method Details
-
createOAuthAuthenticator
- Specified by:
createOAuthAuthenticatorin classRequestAuthenticator
-
completeOAuthAuthentication
protected void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp) - Specified by:
completeOAuthAuthenticationin classRequestAuthenticator
-
completeBearerAuthentication
protected void completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal, String method) - Specified by:
completeBearerAuthenticationin classRequestAuthenticator
-
changeHttpSessionId
- Specified by:
changeHttpSessionIdin classRequestAuthenticator
-