Skip to Content
0
Former Member
Dec 05, 2006 at 10:17 AM

Redirect to the jsp page after user authenticated successfully …

388 Views

Here is the requirement …

I’m using “JAAS – Custom Login Module” for user authentication.

I have few questions in Portal Logon process …

1. Exactly at what point I can conclude that the user has been authenticated successfully, because I have to redirect the user to some other page for the first time logon to enter some information, subsequent logins shouldn’t be redirected. (I can update flag upon entering information).

2. Where should I add my redirection code? Is it in my JASS Custom Login Module?

If yes, how can I do that ? I’m more consider on “where should I add it”?

3. Do I need to change my “UmLogonPage.jsp” to complete my requirement?

4. Once after entering the Logon information, who will call my JASS – Custom Login Module for authentication? If authentication has failed who will return the control back to the “umLogonPage.jsp”?

5. In my JASS Custom Login Module, I have no redirections except having logic for authentication process, and some Login Exceptions are thrown for failure logins.

6. Who will catch these exceptions for failure logins to redirect back to the “umLogonPage.jsp”.

7. Finally I like to know where can I add my redirection logic once the user has been authenticated successfully?

8. last but not least can any of the experts explain the whole login process (using JASS module)? How the control goes from one component to another?

Any kind of help is appreciated.

Points can be awarded for useful answers.

Thanks

MMK