This structure defines a resource for protection and authorization.
Syntax
This structure has the following format:
typedef struct Sm_AgentApi_ResourceContext_s { char lpszAgent[SM_AGENTAPI_SIZE_NAME]; char lpszServer[SM_AGENTAPI_SIZE_NAME]; char lpszAction[SM_AGENTAPI_SIZE_NAME]; char lpszResource[SM_AGENTAPI_SIZE_URL]; } Sm_AgentApi_ResourceContext_t;
Parameters
This structure has the following parameters:
Name of the Affiliate Agent holding the resource. This flag is reserved for working with Affiliate Agents. Leave this field blank.
Optional field, used to specify the name of the Web server hosting the Web resourcefor example, www.myorg.org.
Name of the Web resource being requestedfor example, /inventory/ .
Type of action to be performed on the resourcefor example, GET.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |