public abstract class AbstractJettyRequestAuthenticator extends RequestAuthenticator
Modifier and Type | Field and Description |
---|---|
static String |
__J_METHOD |
protected static org.jboss.logging.Logger |
log |
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> |
principal |
protected org.eclipse.jetty.server.Request |
request |
protected AbstractKeycloakJettyAuthenticator |
valve |
challenge, deployment, facade, sslRedirectPort, tokenStore
Constructor and Description |
---|
AbstractJettyRequestAuthenticator(HttpFacade facade,
KeycloakDeployment deployment,
AdapterTokenStore tokenStore,
int sslRedirectPort,
AbstractKeycloakJettyAuthenticator valve,
org.eclipse.jetty.server.Request request) |
Modifier and Type | Method and Description |
---|---|
protected void |
completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal,
String method) |
protected void |
completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp) |
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
protected abstract org.eclipse.jetty.util.MultiMap<String> |
extractFormParameters(org.eclipse.jetty.server.Request base_request) |
protected String |
getHttpSessionId(boolean create) |
protected abstract void |
restoreFormParameters(org.eclipse.jetty.util.MultiMap<String> j_post,
org.eclipse.jetty.server.Request base_request) |
protected void |
restoreRequest() |
protected void |
saveServletRequest() |
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, getChallenge, verifySSL
public static final String __J_METHOD
protected static final org.jboss.logging.Logger log
protected AbstractKeycloakJettyAuthenticator valve
protected org.eclipse.jetty.server.Request request
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal
public AbstractJettyRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, AdapterTokenStore tokenStore, int sslRedirectPort, AbstractKeycloakJettyAuthenticator valve, 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 void restoreRequest()
protected String getHttpSessionId(boolean create)
getHttpSessionId
in class RequestAuthenticator
protected void saveServletRequest()
protected abstract org.eclipse.jetty.util.MultiMap<String> extractFormParameters(org.eclipse.jetty.server.Request base_request)
protected abstract void restoreFormParameters(org.eclipse.jetty.util.MultiMap<String> j_post, org.eclipse.jetty.server.Request base_request)
Copyright © 2014. All Rights Reserved.