@Extension(ordinal=-9999.0) public class JwtTokenVerifierImpl extends JwtTokenVerifier
Modifier and Type | Class and Description |
---|---|
static class |
JwtTokenVerifierImpl.JwtAuthentication |
Constructor and Description |
---|
JwtTokenVerifierImpl() |
Modifier and Type | Method and Description |
---|---|
Optional<org.acegisecurity.Authentication> |
getAuthenticationFromToken(String token) |
all
public Optional<org.acegisecurity.Authentication> getAuthenticationFromToken(String token)
getAuthenticationFromToken
in class JwtTokenVerifier
token
- Incoming JWT that we are trying to processAuthentication
object for the user, or Optional.empty() if no user could be found or the JWT
could not be verified. Optional.empty() should also be thrown if this JWT could not be verified (as it may
be verified by a subsequent verifier)Copyright © 2016–2018. All rights reserved.