CLI Authentication and Authorization Map Methods

Contents
sm1252sp1
Contents
AuthDir Method Sets or Retrieves the Authentication Directory
The AuthDir method sets or retrieves the authentication directory of the authentication and authorization map.
Syntax
The AuthDir method has the following format:
Netegrity::PolicyMgtAuthAzMap->AuthDir([userDir])
Parameters
The AuthDir method accepts the following parameter:
  1. userDir
    (PolicyMgtUserDir)
    (Optional) Specifies the authentication directory to set.
Return Value
The AuthDir method returns one of the following values:
  • A new or existing PolicyMgtUserDir object.
  • undef
    if the call was unsuccessful
AzDir Method Sets or Retrieves the Authorization Directory
The AzDir method sets or retrieves the authorization directory of the authentication and authorization map.
Syntax
The AzDir method has the following format:
Netegrity::PolicyMgtAuthAzMap->AzDir([userDir])
Parameters
The AzDir method accepts the following parameter:
  1. userDir
    (PolicyMgtUserDir)
    (Optional) Specifies the authorization directory to set.
Return Value
The AzDir method returns one of the following values:
  • A new or existing PolicyMgtUserDir object
  • undef
    if the call was unsuccessful
MapType Method Sets or Retrieves the Type of Authentication and Authorization Map
The MapType method sets or retrieves the type of authentication and authorization map.
Syntax
The MapType method has the following format:
Netegrity::PolicyMgtAuthAzMap->MapType([mapType])
Parameters
The MapType method accepts the following parameter:
  1. mapType
    (int)
    (Optional) Specifies the map type. The following values are valid:
    AUTHAZMAPTYPE_DN (Value=1). Mapping is based on a DN.
    AUTHAZMAPTYPE_UNIVERSALID (Value=2). Mapping is based on a universal identifier.
    AUTHAZMAPTYPE_ATTR (Value=3). Mapping is based on an attribute in the directory.
Return Value
The MapType method returns one of the following values:
  • A new or existing map type
  • -1 if the call was unsuccessful