[Yanel-dev] PolicyManagerv2 : authorize

Balz Schreier balz.schreier at gmail.com
Fri Mar 4 17:09:34 CET 2011


hi,

i use policies that authorize public users for certain usecases, so I use
this in the usecase definition:

   <world permission="true"/>


How can I authorize a user request where the user is unknown?


I use:

   realm.getPolicyManager().authorize(policyPath, identity, usecase);


but identity is of course NULL for not logged in users.

How can I run the authorization check for not logged in users?


Thanks

Cheers

Balz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110304/d403b8bc/attachment.html>


More information about the Yanel-development mailing list