Package org.keycloak.adapters.jetty.core
Class JettyRequestAuthenticator
- java.lang.Object
-
- org.keycloak.adapters.RequestAuthenticator
-
- org.keycloak.adapters.jetty.core.JettyRequestAuthenticator
-
public class JettyRequestAuthenticator extends RequestAuthenticator
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.jboss.logging.Loggerlogprotected KeycloakPrincipal<RefreshableKeycloakSecurityContext>principalprotected org.eclipse.jetty.server.Requestrequest-
Fields inherited from class org.keycloak.adapters.RequestAuthenticator
challenge, deployment, facade, sslRedirectPort, tokenStore
-
-
Constructor Summary
Constructors Constructor Description JettyRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, AdapterTokenStore tokenStore, int sslRedirectPort, org.eclipse.jetty.server.Request request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringchangeHttpSessionId(boolean create)protected voidcompleteBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal, String method)protected voidcompleteOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp)protected OAuthRequestAuthenticatorcreateOAuthAuthenticator()-
Methods inherited from class org.keycloak.adapters.RequestAuthenticator
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, createQueryParameterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSL
-
-
-
-
Field Detail
-
log
protected static final org.jboss.logging.Logger log
-
request
protected org.eclipse.jetty.server.Request request
-
principal
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal
-
-
Constructor Detail
-
JettyRequestAuthenticator
public JettyRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, AdapterTokenStore tokenStore, int sslRedirectPort, org.eclipse.jetty.server.Request request)
-
-
Method Detail
-
createOAuthAuthenticator
protected OAuthRequestAuthenticator 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
protected String changeHttpSessionId(boolean create)
- Specified by:
changeHttpSessionIdin classRequestAuthenticator
-
-