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, createQueryParameterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSL
public 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 RequestAuthenticator
protected void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
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 © 2021 JBoss by Red Hat. All rights reserved.