jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: unlock file
Date Thu, 23 Oct 2008 14:06:16 GMT
Jou Kou-Rong wrote:

> I also have a need to maintain the lock token across sessions. Is using our application

> to save the session token in the jackrabbit repository a reasonable approach?

no, i wouldn't say so.

the proper way transporting lock tokens across sessions is
using the methods defined by the API

Session.getLockTokens()
Session.removeLockToken(String)
Session.addLockToken(String)

storing them in the content just move the problem to a new
area (access control). i suppose you don't gain anything.

angela

Mime
View raw message