Lines Matching refs:role
157 //Equivalent to <auth-constraint> with list of <security-role-name>s
289 * <li>All users do not need to have a role defined in the deployment descriptor
290 * <li>The * role in a constraint applies to ANY role rather than all roles defined in
408 for (String role : mapping.getConstraint().getRoles())
409 addRole(role);
421 public void addRole(String role)
423 boolean modified = _roles.add(role);
426 // Add the new role to currently defined any role role infos
432 info.addRole(role);
600 for (String role : _roles)
601 ri.addRole(role);
604 // * means any role
610 for (String role : newRoles)
612 if (_strict &&!_roles.contains(role))
613 throw new IllegalArgumentException("Attempt to use undeclared role: " + role + ", known roles: " + _roles);
614 ri.addRole(role);
790 for (String role : roleInfo.getRoles())
792 if (userIdentity.isUserInRole(role, null))