incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Koci <martin.k...@aura.cz>
Subject User interaction in Graffito
Date Fri, 26 Aug 2005 14:00:52 GMT
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:  martin.koci@aura.cz
internet: http://www.aura.cz
         http://www.j2ee.cz
--------------------------------- 


Mime
View raw message