public class DefaultJWTCallerPrincipalFactory extends JWTCallerPrincipalFactory
| Constructor and Description |
|---|
DefaultJWTCallerPrincipalFactory()
Tries to load the JWTAuthContextInfo from CDI if the class level authContextInfo has not been set.
|
| Modifier and Type | Method and Description |
|---|---|
JWTCallerPrincipal |
parse(String token,
JWTAuthContextInfo authContextInfo)
Parse the given bearer token string into a JWTCallerPrincipal instance.
|
instance, setInstancepublic DefaultJWTCallerPrincipalFactory()
public JWTCallerPrincipal parse(String token, JWTAuthContextInfo authContextInfo) throws ParseException
JWTCallerPrincipalFactoryparse in class JWTCallerPrincipalFactorytoken - - the bearer token provided for authorizationParseException - on parse or verification failure.Copyright © 2018 JBoss by Red Hat. All rights reserved.