1 27 package org.objectweb.jonas_client.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 31 32 37 38 public class JonasSecurityRuleSet extends JRuleSetBase { 39 40 46 47 51 public JonasSecurityRuleSet(String prefix) { 52 super(prefix); 53 } 54 58 59 public void addRuleInstances(Digester digester) { 60 digester.addObjectCreate(prefix + "jonas-security", 61 "org.objectweb.jonas_client.deployment.xml.JonasSecurity"); 62 digester.addSetNext(prefix + "jonas-security", 63 "setJonasSecurity", 64 "org.objectweb.jonas_client.deployment.xml.JonasSecurity"); 65 digester.addCallMethod(prefix + "jonas-security/jaasfile", 66 "setJaasfile", 0); 67 digester.addCallMethod(prefix + "jonas-security/jaasentry", 68 "setJaasentry", 0); 69 digester.addCallMethod(prefix + "jonas-security/username", 70 "setUsername", 0); 71 digester.addCallMethod(prefix + "jonas-security/password", 72 "setPassword", 0); 73 } 74 } 75 | Popular Tags |