Package org.wildfly.security.http.oidc
Class RequestAuthenticator
- java.lang.Object
-
- org.wildfly.security.http.oidc.RequestAuthenticator
-
public class RequestAuthenticator extends Object
- Author:
- Pedro Igor, Farah Juma
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthChallenge
challenge
protected OidcClientConfiguration
deployment
protected OidcHttpFacade
facade
protected int
sslRedirectPort
-
Constructor Summary
Constructors Constructor Description RequestAuthenticator(OidcHttpFacade facade, OidcClientConfiguration deployment, int sslRedirectPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Oidc.AuthOutcome
authenticate()
protected String
changeHttpSessionId(boolean create)
protected void
completeAuthentication(BearerTokenRequestAuthenticator bearer)
protected void
completeAuthentication(OidcRequestAuthenticator oidc)
protected void
completeBearerAuthentication(OidcPrincipal<RefreshableOidcSecurityContext> principal)
protected void
completeOidcAuthentication(OidcPrincipal<RefreshableOidcSecurityContext> principal)
protected OidcRequestAuthenticator
createOidcAuthenticator()
private Oidc.AuthOutcome
doAuthenticate()
AuthChallenge
getChallenge()
protected boolean
isAutodetectedBearerOnly()
protected boolean
verifySSL()
-
-
-
Field Detail
-
facade
protected OidcHttpFacade facade
-
challenge
protected AuthChallenge challenge
-
deployment
protected OidcClientConfiguration deployment
-
sslRedirectPort
protected int sslRedirectPort
-
-
Constructor Detail
-
RequestAuthenticator
public RequestAuthenticator(OidcHttpFacade facade, OidcClientConfiguration deployment, int sslRedirectPort)
-
-
Method Detail
-
authenticate
public Oidc.AuthOutcome authenticate()
-
createOidcAuthenticator
protected OidcRequestAuthenticator createOidcAuthenticator()
-
completeOidcAuthentication
protected void completeOidcAuthentication(OidcPrincipal<RefreshableOidcSecurityContext> principal)
-
completeBearerAuthentication
protected void completeBearerAuthentication(OidcPrincipal<RefreshableOidcSecurityContext> principal)
-
changeHttpSessionId
protected String changeHttpSessionId(boolean create)
-
getChallenge
public AuthChallenge getChallenge()
-
doAuthenticate
private Oidc.AuthOutcome doAuthenticate()
-
verifySSL
protected boolean verifySSL()
-
completeAuthentication
protected void completeAuthentication(OidcRequestAuthenticator oidc)
-
completeAuthentication
protected void completeAuthentication(BearerTokenRequestAuthenticator bearer)
-
isAutodetectedBearerOnly
protected boolean isAutodetectedBearerOnly()
-
-