Announcement Announcement Module
Collapse
No announcement yet.
Adding roles dynamically and setting page access restrictions via web front end Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding roles dynamically and setting page access restrictions via web front end

    Hi All,

    I need to be able to add new roles and set the pages a user of that role can access dynamically at runtime. I need to add a page to let the admin user create new roles and set the page access permissions for that role. How could this be done using spring and acegi?

    Appreciate any help

    Thanks

    Colin

  • #2
    --------------------------------------------------------------------------------

    Hi,
    I have a problem quite similar to yours: update from via a web front end the rules access defined in acegi files config.
    I believe that actually, the need is to update dynamically the ObjectDefinitionSource asociated to the filterSecurityInterceptor first defined in the applicationContext-acegi-security.xml file.

    I saw it exists a RegExpBasedFilterInvocationDefinition.addSecureURL () method in the acegi API...

    Is it a posible way to resolve such type of problem?

    thanks

    Comment

    Working...
    X