Originally posted by Ramana Kumar Atmakuru:
hi,
I have an application with declarative security.it works fine.It remembers the page requested and after authentication,it trasfer control to the requested page.
Now,I have question about how to tell server to display the page after successful authentication.Here,user never requested any page.He directly accessed login page and got authenticated but after this, i would like send control to default page...
how can i do this?..Can any body help with this...
Thanks guys for your time..
bye
Ramana Kumar.
There's no way to do this with container-based authentication, no matter if you use custom pages or rely on the Basic or Digest HTTP authentication mechanisms. You need to roll your own to get this behavior, e.g., using a
servlet (or
Struts Action) for authentication and filter for access control. I show examples of this in my JavaServer Pages book.