Ken Martin wrote:

> On Sunday, March 24, 2002, at 04:43 PM, Daniel Hinojosa wrote:
>
>> How can I implement a 'Remember Me' checkbox for username, password, 
>> on my site when I use 'Form-Based' authentication?
>
>
> Write and read cookies.
>
> <http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.Cookie.html# 
>
> _top_>
>
> Ken Martin
>
>
> -- 
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>
There was a bit more to my question though that you truncated. The API 
(2.2+) doesn't tell me about assigning a principal so that I may check 
isUserInRole() etc.  I am talking about custom-authentication to assign 
a principal so that I may check that against that isUserInRole. 
 Obtaining a principal is something I get from using the FORM-based 
authentication, but how do I get that with custom based authentication.

-- 
Daniel Hinojosa
Java & XML: Consultant | Developer | Instructor
P.O. Box 4675
Albuquerque, NM 87196-4675
(505) 363-5832






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

Reply via email to