Package lumis.portal.servicecontainer
Class XslToApplyToken
- java.lang.Object
-
- lumis.portal.servicecontainer.XslToApplyToken
-
public class XslToApplyToken extends Object
The XSL to apply token utility class.- Since:
- 7.1.0
- Version:
- $Revision: 16037 $ $Date: 2013-11-21 20:58:50 -0200 (Thu, 21 Nov 2013) $
-
-
Constructor Summary
Constructors Constructor Description XslToApplyToken()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkToken(HttpServletRequest request)
Checks the provided token (if any).static String
createTokenIfNeeded(HttpServletRequest request)
Creates a token for user.
-
-
-
Method Detail
-
createTokenIfNeeded
public static String createTokenIfNeeded(HttpServletRequest request)
Creates a token for user.- Parameters:
request
- the request.- Returns:
- the created token.
- Since:
- 7.1.0
-
checkToken
public static boolean checkToken(HttpServletRequest request)
Checks the provided token (if any). Returns whether the provided token matches the user token.- Parameters:
request
- the request.- Returns:
- whether the provided token matches the user token.
- Since:
- 7.1.0
-
-