Sets LDAP attributes in an HTTP header.
This function will be called when com.sun.am.policy.agents.config.profile.attribute.fetch.mode in the agent configuration properties is set to HTTP_HEADER. This property specifies if additional user profile attributes should be introduced into the request. Possible values are:
NONE
HTTP_HEADER
HTTP_COOKIE
#include "am_web.h" typedef am_status_t (*am_web_result_set_header_func_t)( const char *key, const char *attrValues, void **args);
This function takes the following parameter:
Pointer to the key to which the value will be set.
Pointer to a string representing the values to be set.
Pointer to a pointer to agent defined parameters.
This function returns one of the values of the am_status_t enumeration (defined in the <am_types.h> header file) including:
If the header was successfully set.