Announcement Announcement Module
Collapse
No announcement yet.
ojbect security interseptor Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ojbect security interseptor

    Hello, can any body explain me how solve follow problem.
    I am developing web interface/ web service to CMS, but it's difficult to apply security on CMS level, so the problem is how made SecurityInterseptor on object instance.
    For example. User "guest" try get access to file "/file.txt".
    It's made call CMSManager.getFile("/file.txt") and I want to define (in ?SecurityInterseptor->objectDefinitionSource) in some way somthing like this:
    /file.txt = guest (which allow user guest get access to file "/file.txt").
    Is it possible in ACEGI?
    I houpe Iproblem is described understandeble...

  • #2
    You'll need to look at FilterSecurityInterceptor.objectDefinitionSource, which is generally a subclass of AbstractFilterInvocationDefinitionSource. The latter provides a public abstract ConfigAttributeDefinition lookupAttributes(String url) method that you might wish to use from your CMSManager.

    Comment

    Working...
    X