Class CsrfPreventionIT

    • Constructor Detail

      • CsrfPreventionIT

        public CsrfPreventionIT()
    • Method Detail

      • createClient

        public void createClient()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCheckPresenceOfCsrfPreventionCookie

        public void shouldCheckPresenceOfCsrfPreventionCookie()
      • checkCookieSet

        protected boolean checkCookieSet​(com.sun.jersey.api.client.ClientResponse response)
      • checkXsrfTokenHeaderPresent

        protected boolean checkXsrfTokenHeaderPresent​(com.sun.jersey.api.client.ClientResponse response)
      • shouldRejectModifyingRequest

        public void shouldRejectModifyingRequest()