@Singleton public class DefaultSecurityContextFactory extends java.lang.Object implements SecurityContextFactory
SecurityContext.
To override this implementation, @Replaces must be set on
the replacement implementation.| Constructor and Description |
|---|
DefaultSecurityContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
SecurityContext |
createSecurityContext(io.jsonwebtoken.Claims tokenContent)
Starting from a JWT's body, builds a context of security.
|
public SecurityContext createSecurityContext(io.jsonwebtoken.Claims tokenContent)
SecurityContextFactorycreateSecurityContext in interface SecurityContextFactorytokenContent - a JWT's body; must not be null