Class 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 Detail

      • XslToApplyToken

        public XslToApplyToken()
    • 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