This content has been marked as final. 
    
Show                 3 replies
    
- 
        1. Re: accessing secured pagestarksm64 Aug 4, 2004 10:55 AM (in response to triathlon98)No, you have to programtically handle the redirect to the form login page and supply a post to the j_security_check servlet. There is an example of this in the org.jboss.test.web.test.FormAuthUnitTestCase from the testsuite module. 
- 
        2. Re: accessing secured pagetriathlon98 Aug 4, 2004 5:05 PM (in response to triathlon98)Thanks Scott, that helped :-) 
- 
        3. Re: accessing secured pagesuo_jian Aug 22, 2004 3:24 AM (in response to triathlon98)i have the same problem. and i want to write a servlet 
 the web.xml sound that:
 <login-config>
 <auth-method>FORM</auth-method>
 <form-login-config>
 <form-login-page>/servlet1</form-login-page>
 </form-login-config>
 </login-config>
 and I write the Servlet1 to handle the login process,but how can i get the orignial url. for example:I come from
 http://www.sa.com/sample1.html?username=a&password=b
 when the jboss redirect to the servlet,how can i get the above url and parm?
 thank you
 
     
    