You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Jonas BrĂ¼stel <jo...@bruestel.net> on 2007/11/04 10:54:16 UTC

How to get current session?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi group,

I've implemented my own LoginModule and AccessManager.  Now I would
like to pre fill the JCR workspace independently for every user.  The
scenario should look like this:

1. User tries to get a session.
2. My LoginModule impl. should verify the users credentials.
3. User workspace gets filled.
4. User gets his session.

Point 3 is the problem. How do I get the "Session" or "Repository"
within my LoginModule?
Or is this complete nonsense?


Thanks for your help,
Jonas


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHLZbIriBiwnhH0tIRAvt2AJ0auePVBX6ctQ+4QrWjgOE4/Fq4VgCgrylq
WMsOFOC39z6kdYscKI/llaw=
=MagA
-----END PGP SIGNATURE-----