To set up a custom mapped security type
Open the IDOL Server configuration file.
Create a new section to configure the custom security type. For example:
[Security] 0=NT_V4 1=CustomSecurity [CustomSecurity]
In the new section, define the security type. You will need to set at least the following parameters:
SecurityCode
|
A unique number to use as an identifier for the security type. |
Library
|
The path to the security library that IDOL must use to check the ACL of documents that use this security type. Set this parameter to the path of the mapped security library that is included by default with IDOL Server. |
Type
|
The security type. Set this parameter to AUTONOMY_SECURITY_V4_GENERIC_MAPPED . |
SecurityACLFormat
|
The format of the custom ACL. For information about how to set this parameter, see Specify the ACL Format and Security Checks. |
SecurityACLCheck
|
A comma-separated list of security checks that the Generic Security Library must perform, using the information in the ACL and the information provided in the user's securityinfo token. For information about how to set this parameter, see Specify the ACL Format and Security Checks. For examples that show how to set this parameter, see Example - NT Security, and Example - Custom Security. |
For example:
[CustomSecurity] SecurityCode=2 Library=./modules/mapped_security.dll Type=AUTONOMY_SECURITY_V4_GENERIC_MAPPED SecurityACLFormat=<E=B!>:U:<U=SLE+=>:G:<G=SLE+>:OG:<OG=SLE+>:NU:<NU=SLE->:NG:<NG=SLE-> SecurityACLCheck=OG=[DG]?P:-,NU=[DU]?F:-,NG=[DG]?F:-,E=1?P:-,U=[DU]?P:-,G=[DG]?P:F EscapedEntries=True ...
|