Skip to content

Commit

Permalink
[JENKINS-23378] accept any user with any role
Browse files Browse the repository at this point in the history
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 76c4c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion war/src/main/webapp/WEB-INF/web.xml
Expand Up @@ -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>

Expand Down

0 comments on commit 76c4c12

Please sign in to comment.