JBoss Form-based Login Question
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   charles_raj
Posted On:   Saturday, October 20, 2001 05:27 AM

hi all i wrote some servlets and html pages and packaged it into a WAR file with web.xml according to Servlet specification 2.2. In web.xml i put the following entries for achieving security (Form based) SecurePages secure directory /secure/* POST GET only let the system user login admin SSL not required NONE FORM /LoginForm.html /LoginError.html The Secure ROLE admin and in the custom login Form, i gave Username: Password:    More>>

hi all
i wrote some servlets and html pages and packaged it into a WAR file with web.xml according to Servlet specification 2.2. In web.xml i put the following entries for achieving security (Form based)



SecurePages
secure directory
/secure/*
POST
GET



only let the system user login
admin



SSL not required
NONE






FORM

/LoginForm.html
/LoginError.html





The Secure ROLE
admin


and in the custom login Form, i gave



Username:

Password:









We are seing the loging form upon accessing the servlet from http://localhost:8080/secure/ ; But the submit button results in error 404 Not found path/ j_security_check. We are using JBoss-2.4.1_Jetty-3.1.RC9-1 devlopment environment under windows98.

We woul like to know two things:
where to define the username/password and groups for authorization.
Any other jboss specific xml file included in the .war file.

thanks & Regards.    <<Less
About | Sitemap | Contact