Results 1 to 2 of 2

Thread: ojbect security interseptor

  1. #1
    Join Date
    Dec 2005
    Posts
    1

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    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.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •