-
Bug
-
Resolution: Done
-
Major
-
7.8.0.GA
-
None
-
False
-
False
-
-
-
-
-
-
CR1
-
?
-
Undefined
-
-
---
-
---
-
-
2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25)
REST Endpoints accessible to all logged in users - even those without the correct roles.
We can limit access to specific roles by adding a security-constraint into web.xml which will cover the endpoints you want to protect.
<security-constraint> <web-resource-collection> <web-resource-name>REST web resources</web-resource-name> <url-pattern>/rest/controller/*</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> <auth-constraint> <role-name>rest-all</role-name> <role-name>user</role-name> </auth-constraint> </security-constraint>
I already share the steps in steps to Reproduce.
- is cloned by
-
JBPM-9489 PAM Authorisation Issue - REST Endpoints accessible to all logged in users - even those without the correct roles
- Resolved
- is documented by
-
BXMSDOC-6835 Release notes docs for DM and PAM 7.10
- Closed