[OPENAM-7265] Post Authentication Plugin HttpServletRequest is null in onLogout() method Created: 29/Oct/15 Updated: 20/Nov/16 Resolved: 26/Nov/15 |
|
Status: | Resolved |
Project: | OpenAM |
Component/s: | authentication |
Affects Version/s: | 12.0.0, 12.0.1, 12.0.2 |
Fix Version/s: | 12.0.3, 13.0.0 |
Type: | Bug | Priority: | Minor |
Reporter: | Kamal Sivanandam | Assignee: | Sachiko Wallace |
Resolution: | Fixed | Votes: | 0 |
Labels: | EDISON, release-notes | ||
Remaining Estimate: | 0h | ||
Time Spent: | 3h | ||
Original Estimate: | Not Specified |
Rank: | 1|hzlb6f: |
Sprint: | AM Sustaining Sprint 14, AM Sustaining Sprint 15 |
Support Ticket IDs: |
Description |
Post Authentication Plugin HttpServletRequest is null in onLogout() method Steps to re-produce: 1) Install a 12.x OpenAM instance. public void onLogout(HttpServletRequest request, HttpServletResponse response, SSOToken ssoToken) DEBUG.message("Triggering the onLogout in the SamplePAP"); if (request != null) { DEBUG.message(" request is not null"); }else { DEBUG.message("request is null"); }} 3) Login to OpenAM using browser or REST. |
Comments |
Comment by Quentin CASTEL [X] (Inactive) [ 09/Nov/15 ] |
Seems like the problem comes from: org.forgerock.openam.core.rest.session.SessionResource.java private JsonValue logout(String tokenId, Context context) throws InternalServerErrorException { ... authUtilsWrapper.logout(sessionId, null, httpServletResponse); |
Comment by Bernhard Thalmayr [ 09/Nov/15 ] |
only XUI is affected, legacy UI is not affected |
Comment by Sachiko Wallace [ 17/Nov/15 ] |
this will be quite hard to implement in 12.0.x since CHF is not available in REST. |