Federation Message Consumer Plugin postDisambiguate SDK function
book
Article ID: 141912
calendar_today
Updated On:
Products
CA Single Sign On Secure Proxy Server (SiteMinder)CA Single Sign On Agents (SiteMinder)CA Single Sign On Federation (SiteMinder)CA Single Sign On SOA Security Manager (SiteMinder)SITEMINDER
Issue/Introduction
At the Service Provider (SP) end of the Federation, the SiteMinder documentation doesn't state in detail about each parameter of the below function in the Message consumer Plugin (1).
Should postDisambiguate() be called from init()?
The "output" parameter in the postDisambiguate(APIContext apiContext, UserContext userContext, String parameters, String message, Map props, String loginID, StringBuffer output) which of type Stringbuffer, should it be set to the new SAML assertion that will need to be modified?
Once the output is set, does SiteMinder process this SAML assertion(output) again to disambiguate the user?
Resolution
No. This method is called only once during initialization. Modify this method if the plugin requires any initialization steps OR just return true.
As mentioned in the documentation, this method is only called when the disambiguation of the user fails. The "output" parameter should be set to the "user identifier value" with which the user directory search should be performed. Do NOT add the SAML assertion in the output parameter.
Once the output parameter is set, SiteMinder will try to disambiguate the user with the output parameter value but the assertion will not be updated. The assertion will remain the same.
NOTE:
The postDisambiguate method in the plugin will only help to disambiguate the user with a different value and does not update the assertion.