Configuring Active Roles SPML Provider
Configuration settings allow the administrator to configure and its schema in order to adjust the behavior. Administrators can, for example, specify the required managed objects and attributes in the schema, or choose the type of execution (disabling or deprovisioning objects) for the Suspend operation.
Configuring SPML Provider settings in the SPML.Config file
The configuration settings can be found in the SPML.Config file located in the Web subfolder of the installation folder. The SPML.Config file contains data in the XML format. You can open and edit the configuration file with a common text editor, such as Notepad.
NOTE: After you modify configuration settings,restart the IIS application pool for the website for the changes to take effect.
The following table describes the XML elements used in the configuration file.
Table 65: XML elements used in the configuration file
service |
configuration |
In proxy mode, specifies the name of the computer running the Active Roles Administration Service. In direct access mode, specifies the name of the AD domain controller or AD LDS server. The name of the AD LDS server must be in the form <servername:portnumber>. |
adsiProvider |
configuration |
Specifies the progID of the ADSI Provider. In proxy mode, the progID is EDMS. In direct access mode, the progID is LDAP. |
schemaFile |
configuration |
Contains the name of the file that defines the DSML Profile schema for . By default, the file name is SPMLSchema.Config. The schema file must be located in the same folder as the SPML.Config file. |
defaultMaxSelect |
search |
Specifies the maximum number of search results that can return without page splitting. The default value is 1000. |
pageSize |
search |
Specifies the maximum number of search results per page. The default value is 25.
NOTE: If pageSize is set to 0, returns search results without page splitting. |
class |
password |
Contains the LDAP display name of the schema class of objects on which is expected to perform the Password Capability-related operations such as setPassword and expirePassword. |
class |
suspend |
Contains the LDAP display name of the schema class of objects on which is expected to perform the Suspend Capability-related operations such as suspend, resume, and active. |
suspendAction |
suspend |
Possible values: disable or deprovision. The default value is disable.
If suspendAction is set to disable, disables the specified user account on the target.
If suspendAction is set to deprovision, deprovisions the specified user account in accordance with the deprovisioning policies defined by Active Roles. |
checkOutput |
configuration |
Possible values: true or false. The default value is false.
true causes to check the string attribute values retrieved from the underlying directory before adding them to a response. If an attribute value contains illegal characters that could break the XML parser on the client side, converts the attribute value to the base64binary format and then adds the result of the conversion to the response. Note that this option may result in performance degradation of as checking every attribute value is a resource-intensive operation.
false causes not to check the string attribute values retrieved from the underlying directory. An attribute value is added to the response without any conversion even if the value contains illegal characters.
NOTE: In accordance with the XML specification, the legal character range is as follows: #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]. With checkOutput set to true, ensures that attribute values in a response contain only characters from the legal character range. |
Sample SPML Provider configuration file
The following is an example of the configuration file for configured to operate in proxy mode. If and the Active Roles Administration service are installed on the same computer, the default configuration settings look as follows:
<?xml version="1.0"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:quest:names:SPMLProvider">
<service>localhost</service>
<adsiProvider>EDMS</adsiProvider>
<schemaFile>SPMLSchema.Config</schemaFile>
<capabilities>
<search>
<defaultMaxSelect>1000</defaultMaxSelect>
<pageSize>25</pageSize>
</search>
<password>
<appliesTo>
<class>user</class>
</appliesTo>
</password>
<suspend>
<appliesTo>
<class>user</class>
</appliesTo>
<suspendAction>disable</suspendAction>
</suspend>
</capabilities>
<checkOutput>false</checkOutput>
</configuration>
Extending the SPML Provider schema
The schema defines the XML structure of the objects and attributes that manages. You can modify the schema to manage new types of objects or object properties. Thus, you can add the class and attribute definitions to the schema in order to meet the needs of your organization.
NOTE: In proxy mode, you can add only those object classes and attributes that are valid according to the Active Roles schema.
The schema is stored in the SPMLSchema.Config file. The SPMLSchema.Config file is located in the Web subfolder of the installation folder.
The schema format corresponds to the DSML Version 2 profile (DSMLv2). For detailed information on the DSML v2 profile, refer to the OASIS SPML v2 - DSML v2 Profile specification. The specification describes the use of the DSML protocol as a data model for SPML- based provisioning and can be accessed from the OASIS Web site at http://www.oasis-open.org/specs/index.php#spmlv2.0.