The documentation says that you should add:
/META-INF/security-rules.drl
But seams gen generates the following:
<drools:rule-base name="securityRules">
<drools:rule-files>/security.drl</drools:rule-files>
</drools:rule-base>
Which looks like it is declaring the same thing.
So - naturally one wonders which one to use. Is either way fine?
Either way is fine, as long as the component name is "securityRules" and the rules file is in the physical location specified by the configuration. I should really update the docs to use the drools schema.