On Mon, 14 Jan 2002, Arion Yu wrote:

> Date: Mon, 14 Jan 2002 13:36:02 +0800
> From: Arion Yu <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: User Registration Login Problem
>
> Hi!
>
> Let me describe a scenario first:
> 1) When viewing protected pages (defined in web.xml), user is prompted
> for login.
> 2) If the user doesn't have a login, he could get an option to register, and
> 3) directed to the requested page after registration.
>
>
> I can create an auth-realm to fulfill the requirements 1 and 2. However,
> how can I accomplish 3 without prompting the user to login again? Could
> I make use of the login mechanism (basic, digest, cert, form) provided
> by the servlet container?
>
> Any idea would be helpful.
>

If you are using container-managed security (i.e. security constraints in
the web.xml file), there is no way around challenging the user to log in
again.

> Thanks
>
> Arion
>

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to