tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Aumont <vincent.aum...@vsl.ca>
Subject Re: Realm Authentication and Password Change
Date Mon, 10 Nov 2003 16:56:46 GMT
session.setAttribute().
Don't forget to remove the attribute from the session when you're done,
Actually, you should use a request attribute in this case.

- Vincent

Shain, Jim wrote:

>Vincent,
>Thanks! Great solution. How can I set a session variable in a custom realm?
>
>-----Original Message-----
>From: Vincent Aumont [mailto:vincent.aumont@vsl.ca]
>Sent: Monday, November 10, 2003 10:24 AM
>To: Tomcat Users List
>Subject: Re: Realm Authentication and Password Change
>
>
>A possible solution:
>- Your custom realm sets a session attribute to indicate that the password must
>be changed.
>- You create a filter that checks this attribute and redirect the use to the
>password change page if needed.
>
>
>-Vincent.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message