jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cech. Ulrich" <Ulrich.C...@aeb.de>
Subject Perhaps a bug in Session.checkPermission oder Session.hasPermission?
Date Tue, 02 Nov 2010 14:22:37 GMT

ich found an unexpected behavior of the methods Session.checkPermission() and Session.hasPermission().
CheckPermission throws an AccessControlException although the correct permission is set. Session.hasPermission()
results in a 'correct' return value with "true".

I attached an JUnit-Test (with a repository.xml), perhaps someone can verify this as a bug
... or do I perhaps something wrong?

Thanks in advance,

View raw message