Issue
-
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
- Configure Digest Authentication:
Environment
- Liferay DXP 7.3
- Liferay DXP 7.2
- Liferay DXP 7.1
Resolution
- The observed behavior is a known issue and is fixed in liferay-dxp-73-sp3.
- The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-15 for 7.2.
- The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-26 for 7.1.
- If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide to install these Fixpack in your environment.