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 JLDAPRuleSet extends JRuleSetBase { 38 39 43 public JLDAPRuleSet(String prefix) { 44 super(prefix); 45 } 46 50 public void addRuleInstances(Digester digester) { 51 52 digester.addObjectCreate(prefix + "ldaprealm", 54 "org.objectweb.jonas.security.realm.factory.JResourceLDAP"); 55 56 digester.addSetProperties(prefix + "ldaprealm"); 57 digester.addSetNext(prefix + "ldaprealm", 58 "addJResource", 59 "org.objectweb.jonas.security.realm.factory.JResource"); 60 } 61 62 } 63 | Popular Tags |