Hi Vladimir,

I believe you want to look at this source file:
src/java/org/apache/jetspeed/modules/actions/JetspeedSessionValidator.java
and
src/java/org/apache/jetspeed/modules/actions/JLogoutUser.java
to see how autologin is implemented on 1.5.

>From a cursory examination, it appears that logging out actually
removes the auto login cookies.  If you want to test auto login, try
logging in, then closing your browser, then opening your browser and
revisiting the site.

Hope this helps.

Dan

--- Vladimir Lisin <[EMAIL PROTECTED]> wrote:

> Hi all
> 
> Please, can anabody comment and suggest the solution in next  problem
> ?
> 
> I am filling the Login and PSW fields,  flagging  the checkbox "
> Remember 
> me".
> Thereafter I see the cookie "[EMAIL PROTECTED]"  in directory 
> C:\Documents and Settings\Lisin.ELCOMGAZ\Cookies\
> Then I make logout and see that cookie "[EMAIL PROTECTED]" was
> deleted.
> And at second login I haven't  any   "/auto-logon" :-(((((
> How must work  the "Remember me/auto-logon facility" in J1.5 ?
> The next is the fragment of my JR.properties:
>
.........................................................................................
>    # Remember me/auto-logon facility
> automatic.logon.enable=true
> #    number of seconds until logon expires (2592000 = 1 month, 
> 30*24*60*60)
> automatic.logon.cookie.maxage=2592000
> automatic.logon.cookie.comment=Jetspeed automatic logon cookie
> #    domain, blank means use getServer to derive it.  Is of the form 
> .foo.com.
> automatic.logon.cookie.domain=
> #    path, blank means use getContextPath, default to / - all paths
> automatic.logon.cookie.path=/
> #    specifies when the random portion of the cookie is regenerated-
> #     - firstlogon, means it is only generated the first time the
> users 
> #                   requests this feature, useful when you want to
> allow
> #                   them to use the feature across computers
> #     - everylogon, means it is regenerated upon each successful
> logon
> #                   useful for getting a little added security
> (default)
> automatic.logon.cookie.generation=everylogon
> 
> # automatically save user state on logout
> automatic.logout.save = true
>
.................................................................................................
> 
> 
> Thanks in advance.
> Vladimir 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to