What would be the equivalent method call if I am using a MemorySession
(and rep/users.xml) ?

Check the SessionValidatorRetriever solution I mentioned afterwards.

What exactly is the meaning of the 3rd argument, the boolean, "remembered" ?

It's to indicate if the session was started with real credentials or through or remember me cookie.



thx

fred



Note that this ties you to a specified implementation of
SessionManager (the database one). If you want to do it properly, you
should retrieve the session manager from the authentication element
in an element like this (only works in the latest svn):

SessionValidator session_validator =
SessionValidatorRetriever.getSessionValidator(getSite(),
".YOUR_AUTH_ELEMENT_ID", this)
SessionManager session_manager = session_validator.getSessionManager();
--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net

_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users


--
F.Baube                * "Happy songs never made me happy.
Georgetown/MSFS/1988   *  A lot of sad songs have."
email fbaube#welho.com *  -- Mira, Ladytron
 gsm  +358 41 536 8192 *
 wmd   60°11'10.8"N 24°57'36.9"E
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users



--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net

_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to