Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X, 7.2.X, 7.3.X, Master
-
7.3.x, 7.2.x, 7.1.x
-
Committed
-
1
-
3
-
AppSec Iteration 61
-
Regression Bug
Description
Steps to reproduce:
- Configure Digest Authentication:
- System Settings > API Authentication > Digest Authentication:
- Force Digest Authentication: True
- Enabled: True
- Hosts Allowed: n/a
- URLs Excludes: n/a
- URLs Includes: /api/jsonws/company/*
- Configure a new System Access Policy:
- Name: COMPANY_ACCESS
- Enabled: true
- Default: false
- Title: COMPANY_ACCESS
- Allowed Service Signatures:
- Service Class: com.liferay.portal.kernel.service.CompanyService
- Method Name: n/al
- Open a session in POSTMAN
- Create a new request this way (select Digest Auth and add the user and pass)
- Uncheck the "Yes disable retrying" option
- Test that results are returned
- Check the "yes disable retrying" option again (so we are going to see the first call return as result and it's status code)
- In
you could see that it is 403 instead of 401
Expected result: HTTP response returns 401
Actual result: HTTP response returns 403
Attachments
Issue Links
- demands
-
LPS-131786 Add test coverage for LPS-131194
-
- Open
-