Package org.ametys.plugins.site.token
Class RequestParamToken
java.lang.Object
org.ametys.plugins.site.token.RequestParamToken
- All Implemented Interfaces:
GetToken
Get a token from a request parameter named "token".
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RequestParamToken
public RequestParamToken()
-
-
Method Details
-
getToken
Description copied from interface:GetToken
Get an authentication token from the request, if any. -
getTokenContext
Description copied from interface:GetToken
Get an authentication token context from the request, if any.- Specified by:
getTokenContext
in interfaceGetToken
- Parameters:
request
- the current request.- Returns:
- the token context or null if it doesn't exist.
-