-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 13.5.0, 13.5.1, 14.0.0, 14.1.0, 14.1.1, 5.5.1, 6.0.0, 6.0.0.1
-
Fix Version/s: None
-
Component/s: authentication, scripting
-
Labels:
-
Support Ticket IDs:
Problem
When "iplanet-am-auth-shared-state-enabled=true" is set on the Scripted module, the script module will fail to work as there is no callback (when this has a Client script).
Expected
Works like any other auth module w/o error
Currently
Fails to work. What is worst is that the may not be much logging information of the failure.
Impact/Workaround
Remove "iplanet-am-auth-shared-state-enabled=true" as the sharedState is always passed along.
Cause
When iplanet-am-auth-shared-state-enabled=true is set the Callback are not read in AMLoginModule and hence when the replaceCallback is called on the clientScriptOutput to render the client script the comparison on the state.length is 0 and not 2. and so throws Illegal state.
So when isSharedStatedEnable() one should probably do a setForceCallback(true) and do a forceCallbackInit() like what is done in LDAP module when rendering callback.