Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How does j_security_check know which page to redirect to?

843811Sep 4 2007 — edited Sep 14 2007
Hi All,

I have implemented j_security_check in our weblogic web app successfully.

What I would like to know is following the authentication and authorization via the container, how does it know to redirect the user to index.jsp?

For example, we have login.jsp which contains the j_username and j_password fields, and the action is j_security_check. After the user hits submit and the container authenticates them, how does it know to then direct them to index.jsp? Is it because the welcome tag in web.xml is set up to direct them to index.jsp?

<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

Thats the only thing i can think of!

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2007
Added on Sep 4 2007
3 comments
2,850 views