Package org.jaxxy.security.token
Interface TokenAuthenticator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A TokenAuthenticator is responsible for creating a
SecurityContext given a token header value.-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.SecurityContextauthenticate(String token) Creates aSecurityContextfor the given token value.
-
Method Details
-
authenticate
Creates aSecurityContextfor the given token value.- Parameters:
token- the token value- Returns:
- the security context
-