[jboss-user] [Security & JAAS/JBoss] - Re: from login.jsp -->HTTP Status 400 - Invalid direct refer

jaikiran do-not-reply at jboss.com
Wed Oct 18 07:41:03 EDT 2006


Here's what you could do:

- Create a page(lets say index.jsp) and mention this as the welcome page in the web.xml.
- Also make the index.jsp a restricted resource.
- This index.jsp will contain all the links (Movies, Radios etc...)
- Additionally have a login.jsp which will contain only the username and password fields.
- Let the user access the application using the URL - http://localhost:8080/myapp or http://localhost:8080/myapp/index.jsp
- If the user is not yet logged in, he will be redirected to login.jsp, which on successfull login will forward him to the index.jsp containing the links. He can then bookmark this index.jsp URL.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979044#3979044

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979044



More information about the jboss-user mailing list