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 resource—for example, www.myorg.org.
Name of the Web resource being requested—for example, /inventory/ .
Type of action to be performed on the resource—for example, GET.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|