000025222 - How to retrieve user property in WAX phase handler in RSA ClearTrust

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000025222
Applies ToRSA ClearTrust Agent 4.6 for Apache
WAX API
IssueHow to retrieve user property in WAX phase handler in RSA ClearTrust
CauseUser properties are not loaded for an authenticated user until after the last phase handler (cookie handler) has finished, so they are not available as part of the normal agent data structures like ct_request_data
ResolutionOption 1: Using custom code, connect directly to the datastore and retrieve the property

Option 2: Create a runtime API connection and use that to retrieve the user property. NOTE: The runtime API connection used by the agent is not available for use by a WAX phase handler.

Option 3: Publish the property to the request headers in the agent, and write a filter for Apache (or an ISAPI filter for IIS) that follows the agent filter and retrieves the property from the request headers.
WorkaroundCustomer using WAX phase handler to perform custom authentication steps, and needs to retrieve a user property from the datastore
Legacy Article IDa25506

Attachments

    Outcomes