In Post Authentication Plugin one can easily change the session properties for SuccessURL, FullLoginURL, and loginURL thru PAP say thru PostProcessLoginSuccessURL, etc. Now the issue here is thart although there is nodes to do setSuccessURL, the issue is that the Session properties for "SuccessURL" follow what the sharedState.SUCCESS_URL value is.
There is problem changing or affecting the change of this as the code does not let one override any Session Login properties as these session properties are defined as System property and cannot be changed by the nodes
This may be a show-stop for SAML2 integration with trees as it is a design issue with the Trees (missing functionality)
Somehow there seems to be some missing element to decouple the successURL from the session "SuccessURL". It may be also important to change FullLoginURL too for some known AM defect when doing SAML2 (where all these session properties need to be edited which is normally done in the custom modules).
- Either make the setSessionProperties changeable in this node (and also that these values not override by later tree execution). [Impact: session properties whitelisting affected (complexity)]