creator = new SecurityRoleCreator();
}
public void parse(Object context, Node webappSubnode) throws SAXException {
MutableWebAppConfiguration webapp = (MutableWebAppConfiguration) context;
WebAppSecurityRole securityRole
= (WebAppSecurityRole) creator.create(webappSubnode);
if (securityRole != null) {
webapp.addSecurityRole(securityRole);
}
}