public static class MPJWTFilter.MPJWTServletRequestWrapper
extends HttpServletRequestWrapper
Constructor and Description |
---|
MPJWTServletRequestWrapper(HttpServletRequest request,
JWTAuthConfiguration authContextInfo)
Constructs a request object wrapping the given request.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthType() |
java.security.Principal |
getUserPrincipal() |
boolean |
isUserInRole(java.lang.String role) |
public MPJWTServletRequestWrapper(HttpServletRequest request, JWTAuthConfiguration authContextInfo)
request
- The request to wrapauthContextInfo
- the context configuration to validate the tokenjava.lang.IllegalArgumentException
- if the request is null