HTTP
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.