git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@926332
13f79535-47bb-0310-9956-
ffa450edef68
securityRoleRefs.add(securityRoleRef);
}
+ /**
+ * Add a security-role-ref to the set of security-role-refs associated
+ * with this servlet.
+ */
+ public void addSecurityRoleRef(String roleName, String roleLink) {
+ SecurityRoleRef srr = new SecurityRoleRef();
+ srr.setName(roleName);
+ srr.setLink(roleLink);
+ securityRoleRefs.add(srr);
+ }
+
/**
* The multipart configuration, if any, for this servlet