public class JWTAuthMechanism extends Object
| Constructor and Description |
|---|
JWTAuthMechanism(JWTAuthContextInfo authContextInfo) |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationMechanismOutcome |
authenticate(HttpServerExchange exchange,
SecurityContext securityContext)
Extract the Authorization header and validate the bearer token if it exists.
|
ChallengeResult |
sendChallenge(HttpServerExchange exchange,
SecurityContext securityContext) |
public JWTAuthMechanism(JWTAuthContextInfo authContextInfo)
public AuthenticationMechanismOutcome authenticate(HttpServerExchange exchange,
SecurityContext securityContext)
exchange - - the http request exchange objectsecurityContext - - the current security context thatpublic ChallengeResult sendChallenge(HttpServerExchange exchange,
SecurityContext securityContext)
Copyright © 2018 JBoss by Red Hat. All rights reserved.