1 25 package org.objectweb.jonas.security.rules; 26 27 import org.apache.commons.digester.Digester; 28 29 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 30 31 32 37 public class JDSRuleSet extends JRuleSetBase { 38 39 43 public JDSRuleSet(String prefix) { 44 super(prefix); 45 } 46 50 public void addRuleInstances(Digester digester) { 51 52 digester.addObjectCreate(prefix + "dsrealm", 54 "org.objectweb.jonas.security.realm.factory.JResourceDS"); 55 56 digester.addSetProperties(prefix + "dsrealm"); 57 digester.addSetNext(prefix + "dsrealm", 58 "addJResource", 59 "org.objectweb.jonas.security.realm.factory.JResource"); 60 } 61 62 } 63 | Popular Tags |