public class JwtIdentityManager extends Object implements io.undertow.security.idm.IdentityManager
| Constructor and Description |
|---|
JwtIdentityManager(org.wildfly.security.auth.server.SecurityDomain domain) |
| Modifier and Type | Method and Description |
|---|---|
protected io.smallrye.jwt.auth.principal.JWTCallerPrincipal |
validate(JWTCredential jwtCredential)
Validate the bearer token passed in with the authorization header
|
io.undertow.security.idm.Account |
verify(io.undertow.security.idm.Account account) |
io.undertow.security.idm.Account |
verify(io.undertow.security.idm.Credential credential) |
io.undertow.security.idm.Account |
verify(String id,
io.undertow.security.idm.Credential credential) |
public JwtIdentityManager(org.wildfly.security.auth.server.SecurityDomain domain)
public io.undertow.security.idm.Account verify(io.undertow.security.idm.Account account)
verify in interface io.undertow.security.idm.IdentityManagerpublic io.undertow.security.idm.Account verify(String id, io.undertow.security.idm.Credential credential)
verify in interface io.undertow.security.idm.IdentityManagerpublic io.undertow.security.idm.Account verify(io.undertow.security.idm.Credential credential)
verify in interface io.undertow.security.idm.IdentityManagerprotected io.smallrye.jwt.auth.principal.JWTCallerPrincipal validate(JWTCredential jwtCredential) throws io.smallrye.jwt.auth.principal.ParseException
jwtCredential - - the input bearer tokenio.smallrye.jwt.auth.principal.ParseException - - thrown on token parse or validation failureCopyright © 2019 JBoss by Red Hat. All rights reserved.