HTTP

わすれそうだから記録
http://stackoverflow.com/questions/5536266/request-to-j-security-check-return-408-error-only-with-right-paramters

1.Send GET request to the needed private resource, in response you get a cookie (Header "Set cookie".
2.Send request with cookie (from step 1) to the j_security_check. On response you should get code 302 - "Moved Temporarily".
3.Now you can repeat request to the private resource with same cookie, on responce you get needed resource data.