Skip to content
Permalink
Browse files
[JENKINS-23378] accept any user with any role
not just those who have one of the roles defined in this web.xml

The special role name �$B!H�(B*�$B!I�(B is a shorthand for all role names
defined in the deployment descriptor. The special role name �$B!H�(B**�$B!I�(B is a
shorthand for any authenticated user independent of role. When
the special role name �$B!H�(B**�$B!I�(B appears in an authorization constraint,
it indicates that any authenticated user, independent
of role, is authorized to perform the constrained requests.
  • Loading branch information
kohsuke committed Feb 26, 2016
1 parent 8713646 commit 76c4c121a3b5fdeec9138ac463a33df911c378e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 war/src/main/webapp/WEB-INF/web.xml
@@ -175,7 +175,7 @@ THE SOFTWARE.
<!--http-method>GET</http-method-->
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
<role-name>**</role-name>
</auth-constraint>
</security-constraint>

0 comments on commit 76c4c12

Please sign in to comment.