[OPENAM-5986] SPACSUtils incorrectly determines Ignore profile mode Created: 14/May/15 Updated: 01/Jul/15 Resolved: 01/Jul/15
|Affects Version/s:||10.1.0-Xpress, 11.0.0, 12.0.0, 13.0.0|
|Fix Version/s:||11.0.4, 12.0.3, 13.0.0|
|Reporter:||Peter Major [X] (Inactive)||Assignee:||Mark de Reeper|
|Sprint:||Sprint 82 - Sustaining, Sprint 83 - Sustaining|
In SPACSUtils we have the following logic:
However at that point session is very likely to be null, hence the ignoreProfile mode is determined incorrectly (will be false for null sessions).
To reproduce this:
The usage of auto-federation is key in reproducing this issue, because local authentication based account linking will mean that the session is non-null when accessing the SAML endpoint.
|Comment by Mark de Reeper [ 26/May/15 ]|
Rather than getting this info from the Session object which might be null, looking at getting it from the config for the realm.
|Comment by Mark de Reeper [ 01/Jul/15 ]|
Fixed in r14469, r14470 and r14471.