Announcement Announcement Module
Collapse
No announcement yet.
Access aclManager from java classc Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access aclManager from java classc

    Hi,

    I want to get domain object permissions from my java class.

    I see in javadoc that I could obtain that using

    aclManager.getAcls(domainObject, auth);

    but how can I obtain aclManager from my class???

    thanks,
    Paulo

  • #2
    Generally you will use Spring's IoC capabilities to wire your class with the AclManager singleton. Take a look in the Contacts Sample application that ships with Acegi Security and you will see how this is done.

    Comment

    Working...
    X