I want to send request to j_security_check from servlet and get auth cookie from response. Code:
String url = \"http://someserver:8080/j_security_check?j_use
To get some resource on the tomcat server with j_security_check auth it is necessary to implement three steps: