1 27 package org.objectweb.jonas_ear.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 31 32 36 37 public class JonasSecurityRuleSet extends JRuleSetBase { 38 39 43 public JonasSecurityRuleSet(String prefix) { 44 super(prefix); 45 } 46 47 51 52 public void addRuleInstances(Digester digester) { 53 digester.addObjectCreate(prefix + "jonas-security", "org.objectweb.jonas_ear.deployment.xml.JonasSecurity"); 54 digester.addSetNext(prefix + "jonas-security", "setJonasSecurity", 55 "org.objectweb.jonas_ear.deployment.xml.JonasSecurity"); 56 digester.addRuleSet(new JonasSecurityRoleMappingRuleSet(prefix + "jonas-security/")); 57 } 58 } | Popular Tags |