Hi,

i've read the reference documentation and I'm interested
in using the ACL package for our project.
But I do not understand how to use it for my use-case.

We have a Service Interface which we want to protect.
We have a special busines use-case but to make it easier to
understand assume it's a file-system interface.

E.G.

interface FileSystem
  void move(String sourcePath, String targetPath);
  void copy(String sourcePath, String targetPath);
  void delete(String path);
  ...

Now we want to protect the FileSystem object.
For example the method "delete" should only succeed if the ACL
of the file at "path" and the ACL of the parent folder allow this.

Or another example.
The "move" method should only succeed if the ACL of the file at "sourcepath" and ACL of the "targetPath" folder allows this.


Don't take the examples word-by-word. They should only make clear
the problem.

How should one use Acegi in this scenario?

How to use AclManager, AclObjectIdentity, AccessDecisionManager, AccessDecisionVoter, etc.?


Thanks, Olli

--og




------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Acegisecurity-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to