Re: retry form based login

2002-10-01 Thread Vincent Stoessel

Hmmm, so you are saying that I can point  to the
login page? I will try this.


Mark R. Diggory wrote:
> Why do you say this? You can call the "j_security_check" service from 
> any jsp page, whether its the one defined in the login attribute of 
> web.xml or not.
> 
> 
> 
> Login Page for Examples
> 
> 
>  
>
>  Username:
>  
>
>
>  Password:
>  
>
>
>  
>  
>
>  
> 
> 
> 
> 
> -M.
> 
> p.s. I believe the original request that was made is stored in the users 
> session object. you could come at this page more than once and that 
> previous information is still stored. After a successful login, that 
> request should still be completed.
> 
> 
> 
> Vincent Stoessel wrote:
> 
>> Barney Hamish wrote:
>>
>>> On our systems I use an error page which contains another login form 
>>> as well
>>> as an error message. Maybe you could try that.
>>> Hamish
>>>
>>
>>
>> I though about doing this too but then I would have to implement my own
>> authentication scheme on that page, losing all the benefits of using 
>> the built-in one from tomcat.
>>
>>
> 
> 
> 
> 
> 
> -- 
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: retry form based login

2002-10-01 Thread Mark R. Diggory

Why do you say this? You can call the "j_security_check" service from 
any jsp page, whether its the one defined in the login attribute of 
web.xml or not.



Login Page for Examples


  

  Username:
  


  Password:
  


  
  

  




-M.

p.s. I believe the original request that was made is stored in the users 
session object. you could come at this page more than once and that 
previous information is still stored. After a successful login, that 
request should still be completed.



Vincent Stoessel wrote:

> Barney Hamish wrote:
>
>> On our systems I use an error page which contains another login form 
>> as well
>> as an error message. Maybe you could try that.
>> Hamish
>>
>
>
> I though about doing this too but then I would have to implement my own
> authentication scheme on that page, losing all the benefits of using 
> the built-in one from tomcat.
>
>





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: retry form based login

2002-10-01 Thread Vincent Stoessel

Barney Hamish wrote:
> On our systems I use an error page which contains another login form as well
> as an error message. Maybe you could try that.
> Hamish
> 


I though about doing this too but then I would have to implement my own
authentication scheme on that page, losing all the benefits of using the 
built-in one from tomcat.


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: retry form based login

2002-10-01 Thread Barney Hamish

On our systems I use an error page which contains another login form as well
as an error message. Maybe you could try that.
Hamish

> -Original Message-
> From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 6:22 PM
> To: Tomcat Users List
> Subject: retry form based login
> 
> 
> Hello All,
> maybe I had too much caffeine today but I can't
> get my head out of this causality loop I'm
> stuck in. I am using tomcat's form based
> authentication against the realm and all is great except
> for the fact that I am trying to improve the user
> experience when they fail a login attempt.
> I have it set up so that a login failure
> gets shipped to:
> 
> /ErrorPage.jsp
> 
> That was fine for testing purposes but I want to know if
> there is a way to redirect a person back to the login form
> in order for them to try again until they succeed. Or is the
> only way to have the user retry is to have a link on
> errorPage.jsp that points to the protected resource?
> Thanks.
> 
> 
> tomcat 4.1.10 LE (Invoker off)  jdk 1.4
> -- 
> Vincent Stoessel
> Linux Systems Developer
> vincent xaymaca.com
> 
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: retry form based login

2002-10-01 Thread Mark R. Diggory

Don't quote me on this, but I think you could just have your form error 
page point at the login page. Then the login page would show up again on 
failure.

-Mark


Vincent Stoessel wrote:

> Hello All,
> maybe I had too much caffeine today but I can't
> get my head out of this causality loop I'm
> stuck in. I am using tomcat's form based
> authentication against the realm and all is great except
> for the fact that I am trying to improve the user
> experience when they fail a login attempt.
> I have it set up so that a login failure
> gets shipped to:
>
> /ErrorPage.jsp
>
> That was fine for testing purposes but I want to know if
> there is a way to redirect a person back to the login form
> in order for them to try again until they succeed. Or is the
> only way to have the user retry is to have a link on
> errorPage.jsp that points to the protected resource?
> Thanks.
>
>
> tomcat 4.1.10 LE (Invoker off)  jdk 1.4






--
To unsubscribe, e-mail:   
For additional commands, e-mail: