2 Replies Latest reply on Oct 17, 2008 7:46 AM by ericjava.eric.chiralsoftware.net

    Organizing large rule bases for security

    ericjava.eric.chiralsoftware.net

      We're using JBoss Seam Security with Rules all over our entire application, and, of course, we are doing it the right way, which is to use @Restrict on classes or <Restrict/> in .page.xml files, with no arguments, so all the rules checking comes out of the rules files.


      This is good because it gives us excellent control over permissions, all external to the classes or web pages, but the problem is we're ending up with a long rules file.


      What would be great would be a way to split this rules file up.  It would be nice to be able to break it up in some logical way, so rules relating to one directory or package could be stored in one file.


      Is there any way to do this?