public class JettyRequestAuthenticator extends RequestAuthenticator
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
log |
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> |
principal |
protected org.eclipse.jetty.server.Request |
request |
challenge, deployment, facade, sslRedirectPort, tokenStore
Constructor and Description |
---|
JettyRequestAuthenticator(HttpFacade facade,
KeycloakDeployment deployment,
AdapterTokenStore tokenStore,
int sslRedirectPort,
org.eclipse.jetty.server.Request request) |
Modifier and Type | Method and Description |
---|---|
protected String |
changeHttpSessionId(boolean create) |
protected void |
completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal,
String method) |
protected void |
completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp) |
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, createQueryParamterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSL
protected static final org.jboss.logging.Logger log
protected org.eclipse.jetty.server.Request request
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal
public JettyRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, AdapterTokenStore tokenStore, int sslRedirectPort, org.eclipse.jetty.server.Request request)
protected OAuthRequestAuthenticator createOAuthAuthenticator()
createOAuthAuthenticator
in class RequestAuthenticator
protected void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp)
completeOAuthAuthentication
in class RequestAuthenticator
protected void completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal, String method)
completeBearerAuthentication
in class RequestAuthenticator
protected String changeHttpSessionId(boolean create)
changeHttpSessionId
in class RequestAuthenticator
Copyright © 2019 JBoss by Red Hat. All rights reserved.