creator = new SecurityConstraintCreator();
}
public void parse(Object context, Node webappSubnode) throws SAXException {
MutableWebAppConfiguration webapp = (MutableWebAppConfiguration) context;
WebAppSecurityConstraint securityConstraint
= (WebAppSecurityConstraint) creator.create(webappSubnode);
if (securityConstraint != null) {
webapp.addSecurityConstraint(securityConstraint);
}
}