Class XslToApplyToken


  • public class XslToApplyToken
    extends java.lang.Object
    The XSL to apply token utility class.
    Since:
    7.1.0
    Version:
    $Revision$ $Date$
    • Constructor Summary

      Constructors 
      Constructor Description
      XslToApplyToken()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkToken​(javax.servlet.http.HttpServletRequest request)
      Checks the provided token (if any).
      static java.lang.String createTokenIfNeeded​(javax.servlet.http.HttpServletRequest request)
      Creates a token for user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XslToApplyToken

        public XslToApplyToken()
    • Method Detail

      • createTokenIfNeeded

        public static java.lang.String createTokenIfNeeded​(javax.servlet.http.HttpServletRequest request)
        Creates a token for user.
        Parameters:
        request - the request.
        Returns:
        the created token.
        Since:
        7.1.0
      • checkToken

        public static boolean checkToken​(javax.servlet.http.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