Created
October 19, 2022 10:22
-
-
Save bbalakriz/e359f2d81a9462edbdb89cca5d7ff6ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...... | |
...... | |
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>REST web resources</web-resource-name> | |
<url-pattern>/services/rest/*</url-pattern> | |
<http-method>GET</http-method> | |
<http-method>PUT</http-method> | |
<http-method>POST</http-method> | |
<http-method>DELETE</http-method> | |
</web-resource-collection> | |
<!----- Commenting out the auth-constraint -----------> | |
<!--auth-constraint> | |
<role-name>kie-server</role-name> | |
<role-name>user</role-name> | |
</auth-constraint--> | |
...... | |
...... | |
</security-constraint> | |
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>REST web resources</web-resource-name> | |
<url-pattern>/services/rest/*</url-pattern> | |
<http-method>OPTIONS</http-method> | |
</web-resource-collection> | |
<!-- No authentication. --> | |
</security-constraint> | |
.... | |
<!----- Commenting out the login-config, security-role -----------> | |
<!--login-config> | |
<auth-method>BASIC</auth-method> | |
<realm-name>KIE Server</realm-name> | |
</login-config> | |
<security-role> | |
<role-name>kie-server</role-name> | |
</security-role> | |
<security-role> | |
<role-name>user</role-name> | |
</security-role--> | |
.... | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment