@Contract(threading=STATELESS) public interface UserTokenHandler
null
if the context does not contain any resources or details
specific to the current user.
The user token will be used to ensure that user specific resources will not be shared with or reused by other users.
Modifier and Type | Method and Description |
---|---|
Object |
getUserToken(HttpRoute route,
HttpContext context)
The token object returned by this method is expected to uniquely
identify the current user if the context is user specific or to be
null if it is not. |
Object getUserToken(HttpRoute route, HttpContext context)
null
if it is not.route
- HTTP routecontext
- the execution contextnull
if the context is not user specific.