public class SpringSecurityRequestAuthenticator extends RequestAuthenticator
challenge, deployment, facade, log, sslRedirectPort, tokenStore| Constructor and Description |
|---|
SpringSecurityRequestAuthenticator(HttpFacade facade,
javax.servlet.http.HttpServletRequest request,
KeycloakDeployment deployment,
AdapterTokenStore tokenStore,
int sslRedirectPort)
Creates a new Spring Security request authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
changeHttpSessionId(boolean create) |
protected void |
completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal,
String method) |
protected void |
completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal) |
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, createQueryParamterTokenRequestAuthenticator, getChallenge, verifySSLpublic SpringSecurityRequestAuthenticator(HttpFacade facade, javax.servlet.http.HttpServletRequest request, KeycloakDeployment deployment, AdapterTokenStore tokenStore, int sslRedirectPort)
facade - the current HttpFacade (required)request - the current HttpServletRequest (required)deployment - the KeycloakDeployment (required)tokenStore - the sslRedirectPort - the SSL redirect port (required)protected OAuthRequestAuthenticator createOAuthAuthenticator()
createOAuthAuthenticator in class RequestAuthenticatorprotected void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
completeOAuthAuthentication in class RequestAuthenticatorprotected void completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal, String method)
completeBearerAuthentication in class RequestAuthenticatorprotected String changeHttpSessionId(boolean create)
changeHttpSessionId in class RequestAuthenticatorCopyright © 2016 JBoss by Red Hat. All rights reserved.