Class CsrfUtil


  • public class CsrfUtil
    extends Object
    • Constructor Detail

      • CsrfUtil

        public CsrfUtil()
    • Method Detail

      • checkCsrfToken

        public static void checkCsrfToken​(String requestToken,
                                          javax.servlet.http.HttpServletRequest request)
      • hasValidCsrfToken

        public static boolean hasValidCsrfToken​(String requestToken,
                                                String sessionToken)
      • getCsrfTokenFromRequestContent

        public static String getCsrfTokenFromRequestContent​(String requestContent)