public class BearerTokenRequestAuthenticator extends Object
Modifier and Type | Field and Description |
---|---|
protected AuthChallenge |
challenge |
protected KeycloakDeployment |
deployment |
protected Logger |
log |
protected String |
surrogate |
protected AccessToken |
token |
protected String |
tokenString |
Constructor and Description |
---|
BearerTokenRequestAuthenticator(KeycloakDeployment deployment) |
Modifier and Type | Method and Description |
---|---|
AuthOutcome |
authenticate(HttpFacade exchange) |
protected AuthOutcome |
authenticateToken(HttpFacade exchange,
String tokenString) |
protected AuthChallenge |
challengeResponse(HttpFacade facade,
OIDCAuthenticationError.Reason reason,
String error,
String description) |
protected AuthChallenge |
clientCertChallenge() |
AuthChallenge |
getChallenge() |
String |
getSurrogate() |
AccessToken |
getToken() |
String |
getTokenString() |
protected Logger log
protected String tokenString
protected AccessToken token
protected String surrogate
protected AuthChallenge challenge
protected KeycloakDeployment deployment
public BearerTokenRequestAuthenticator(KeycloakDeployment deployment)
public AuthChallenge getChallenge()
public String getTokenString()
public AccessToken getToken()
public String getSurrogate()
public AuthOutcome authenticate(HttpFacade exchange)
protected AuthOutcome authenticateToken(HttpFacade exchange, String tokenString)
protected AuthChallenge clientCertChallenge()
protected AuthChallenge challengeResponse(HttpFacade facade, OIDCAuthenticationError.Reason reason, String error, String description)
Copyright © 2016 JBoss by Red Hat. All rights reserved.