How to identify user which performs a action, for example imports a new document?

For example: JCR defines interface javax.jcr.Session; usual way elsewhere is User object passed as method parameter or simple String userId as parameter; HttpSession is used in Servlet enviroment.

Such identification must exists for locking service - My idea is to obtain a exception "URI (node) locked by user Martin" or something like that.

Thanks,

Martin

--
Mgr. Martin Kočí
---------------------------------
AURA, s.r.o.
Úvoz 499/56; 602 00 Brno
ISO 9001 certifikovaná společnost
tel./fax: +420 5 43 24 51 11
e-mail:  [EMAIL PROTECTED]
internet: http://www.aura.cz
        http://www.j2ee.cz
---------------------------------

Reply via email to