Repository navigation
Authority Connectors
End-User & Connector Documentation: End-User Guide · Included Connectors · Repository Connectors · Output Connectors · Transformation Connectors · Authority Connectors · User Mapping Connectors · Notification Connectors
- Active Directory Authority Connection
- Alfresco Webscript Authority Connection
- CMIS Authority Connection
- EMC Documentum Authority Connection
- Generic Authority
- Generic Database Authority Connection
- LDAP Authority Connection
- OpenText LiveLink Authority Connection
- Autonomy Meridio Authority Connection
- Microsoft SharePoint ActiveDirectory Authority Connection
- Microsoft SharePoint Native Authority Connection
An active directory authority connection is essential for enforcing security for documents from Windows shares, Microsoft SharePoint (in ActiveDirectory mode), and IBM FileNet repositories. This connection type needs to be provided with information about how to log into an appropriate Windows domain controller, with a user that has sufficient privileges to be able to look up any user's ID and group relationships.
An Active Directory authority connection type has two special tabs in the authority connection editing screen: "Domain Controller", and "Cache". The "Domain Controller" tab looks like this:
AD Configuration, Domain Controller tab
As you can see, the Active Directory authority allows you to configure multiple connections to different, but presumably related, domain controllers. The choice of which domain controller will be accessed is determined by traversing the list of configured domain controllers from top to bottom, and finding the first one that matches the domain suffix field specified. Note that a blank value for the domain suffix will match all users.
To add a domain controller to the end of the list, fill in the requested values. Note that the "Administrative user name" field usually requires no domain suffix, but depending on the details of how the domain controller is configured, may sometimes only accept the "name@domain" format. When you have completed your entry, click the "Add to end" button to add the domain controller rule to the end of the list. Later, when other domain controllers are present in the list, you can click a different button at an appropriate spot to insert the domain controller record into the list where you want it to go.
The Active Directory authority connection type also has a "Cache" tab, for managing the caching of individual user responses:
AD Configuration, Cache tab
Here you can control how many individual users will be cached, and for how long.
When you are done, click the "Save" button. When you do, a connection summary and status screen will be presented, which may look something like this:
AD Status
Note that in this example, the Active Directory connection is not responding, which is leading to an error status message instead of "Connection working".
The Alfresco Webscript authority connection type helps secure documents indexed using the Alfresco Webscript repository connection type.
Independently of how the permissions schema is finally configured within the Alfresco instance, the Alfresco Webscript Autorithy service can retrieve the ACLs tokens associated to the users at request time. The connector is based on a single, secured service that directly enquires the Alfresco instance for the users permissions at all levels. The permissions tokens returned will be consistent with the Alfresco permissions model, therefore this Authority Connector makes sense to work only with the Alfresco Webscript Repository Connector and not any other connector
IMPORTANT: in order to put available the required services within Alfresco, it is necessary FIRST to install and deploy within the Alfresco instance the following Alfresco Webscript
The Alfresco Webscript Authority Connection has a single configuration tab in the authority connection editing screen called "Server" where one needs to configure the Alfresco's services endpoint:
Alfresco Server Endpoint Configuration
As you can see, the Alfresco endpoint settings are quite simple and almost self-explicative:
- Protocol: HTTP or HTTPS depending on your instance
- HostName: IP or domain where the Alfresco instance is hosted in your network
- Port: port where the Alfresco instance has been deployed
- Context: URL path where the webscript services has been deployed (/alfresco/service by default) after installed the WebScript
- User: user ID used for performing the authored request to Alfresco. The user MUST have enough privileges for consulting any other user permissions, therefore admin user used to be a good idea
- Password: password of the above user in Alfresco
A CMIS authority connection is required for enforcing security for documents retrieved from CMIS repositories.
The CMIS specification includes the concept of authorities only depending on a specific document, this authority connector is only based on a regular expression comparator.
A CMIS authority connection has the following special tab that you will need to configure: the "Repository" tab. The "Repository" tab looks like this:
CMIS Authority, Repository configuration
The repository configuration will be only used to track an ID for a specific CMIS repository. No calls will be performed against the CMIS repository.
When you are done, click the "Save" button. You will then see a summary and status for the authority connection:
CMIS Authority, saving configuration
A Documentum authority connection is required for enforcing security for documents retrieved from Documentum repositories.
This connection type needs to be provided with information about what Content Server to connect to, and the credentials that should be used to retrieve a user's ACLs from that machine. In addition, you can also specify whether or not you wish to include auto-generated ACLs in every user's list. Auto-generated ACLs are created within Documentum for every folder object. Because there are often a very large number of folders, including these ACLs can bloat the number of ManifoldCF access tokens returned for a user to tens of thousands, which can negatively impact perfomance. Even more notably, few Documentum installations make any real use of these ACLs in any way. Since Documentum's ACLs are purely additive (that is, there are no mechanisms for 'deny' semantics), the impact of a missing ACLs is only to block a user from seeing something they otherwise could see. It is thus safe, and often desirable, to simply ignore the existence of these auto-generated ACLs.
A Documentum authority connection has three special tabs you will need to configure: the "Docbase" tab, the "User Mapping" tab, and the "System ACLs" tab.
The "Docbase" tab looks like this:
Documentum Authority, Docbase tab
Enter the desired Content Server docbase name, and enter the appropriate credentials. You may leave the "Domain" field blank if the Content Server you specify does not have Active Directory support enabled.
The purpose of the User Mapping tab is to control whether user lookups in Documentum are case sensitive or not. The "User Mapping" tab looks like this:
Documentum Authority, User Mapping tab
Here you can specify whether the mapping between incoming user names and Content Server user names is case sensitive or case insensitive. No other mappings are currently permitted. Typically, Documentum instances operate in conjunction with Active Directory, such that Documentum user names are either the same as the Active Directory user names, or are the Active Directory user names mapped to all lower case characters. You may need to consult with your Documentum system administrator to decide what the correct setting should be for this option.
The "System ACLs" tab looks like this:
Documentum Authority, System ACLs tab
Here, you can choose to ignore all auto-generated ACLs associated with a user. We recommend that you try ignoring such ACLs, and only choose the default if you have reason to believe that your Documentum content is protected in a significant way by the use of auto-generated ACLs. Your may need to consult with your Documentum system administrator to decide what the proper setting should be for this option.
When you are done, click the "Save" button. When you do, a connection summary and status screen will be presented:
Documentum Authority Status
Pay careful attention to the status, and be prepared to correct any problems that are displayed.
Generic authority is intended to be used with Generic Connector and provide authentication tokens based on generic API. The idea is that you can use it and implement only the API which is designed to be fine grained and as simple as it is possible to handle all tasks.
API should be implemented as xml web page (entry point) returning results based on provided GET params. It may be a simple server script or part of the bigger application. API can be secured with HTTP basic authentication.
There are 2 actions:
- check
- auth
Action is passed as "action" GET param to the entrypoint.
[entrypoint]?action=check
Should return HTTP status code 200 providing information that entrypoint is working properly. Any content returned will be ignored, only the status code matters.
[entrypoint]?action=auth&username=UserName@Domain
Parameters:
- username - name of the user we want to resolve and fetch tokens.
Result should be valid XML of form:
<auth exists="true|false">
<token>token_1</token>;
<token>token_2</token>;
...
</auth>
exists attribute is required and it carries information whether user is valid or not.
The generic database connection type allows you to generate access tokens from a database table, served by one of the following databases:
- Postgresql (via a Postgresql JDBC driver)
- SQL Server (via the JTDS JDBC driver)
- Oracle (via the Oracle JDBC driver)
- Sybase (via the JTDS JDBC driver)
- MySQL (via the MySQL JDBC driver)
This connection type cannot be configured to work with other databases than the ones listed above without software changes. Depending on your particular installation, some of the above options may not be available.
A generic database authority connection has four special tabs on the repository connection editing screen: the "Database Type" tab, the "Server" tab, the "Credentials" tab, and the "Queries" tab. The "Database Type" tab looks like this:
Generic Database Authority Connection, Database Type tab
Select the kind of database you want to connect to, from the pulldown.
Also, select the JDBC access method you want from the access method pulldown. The access method is provided because the JDBC specification has been recently clarified, and not all JDBC drivers work the same way as far as resultset column name discovery is concerned. The "by name" option currently works with all JDBC drivers in the list except for the MySQL driver. The "by label" works for the current MySQL driver, and may work for some of the others as well. If the queries you supply for your generic database jobs do not work correctly, and you see an error message about not being able to find required columns in the result, you can change your selection on this pulldown and it may correct the problem.
The "Server" tab looks like this:
Generic Database Authority Connection, Server tab
Here you have a choice. Either you can choose to specify the database host and port, and the database name or instance name, or you can provide a raw JDBC connection string that is appropriate for the database type you have chosen. This latter option is provided because many JDBC drivers, such as Oracle's, now can connect to an entire cluster of Oracle servers if you specify the appropriate connection description string.
If you choose the second option, just consult your JDBC driver's documentation and supply your string. If there is anything entered in the raw connection string field at all, it will take precedence over the database host and database name fields.
If you choose the first option, the server name and port must be provided in the "Database host and port" field. For example, for Oracle, the standard Oracle installation uses port 1521, so you would enter something like, "my-oracle-server:1521" for this field. Postgresql uses port 5432 by default, so "my-postgresql-server:5432" would be required. SQL Server's standard port is 1433, so use "my-sql-server:1433".
The service name or instance name field describes which instance and database to connect to. For Oracle or Postgresql, provide just the database name. For SQL Server, use "my-instance-name/my-database-name". For SQL Server using the default instance, use just the database name.
The "Credentials" tab is straightforward:
Generic Database Authority Connection, Credentials tab
Enter the database user credentials.
The "Queries" tab looks like this:
Generic Database Authority Connection, Queries tab
Here you supply two queries. The first query looks up the user name to find a user id. The second query looks up access tokens corresponding to the user id. Details of what you supply for these queries will depend on your database schema.
After you click the "Save" button, you will see a connection summary screen, which might look something like this:
Generic Database Authority Status
Note that in this example, the generic database authority connection is not properly authenticated, which is leading to an error status message instead of "Connection working".
An LDAP authority connection can be used to provide document security in situations where there is no native document security model in place. Examples include Samba shares, Wiki pages, RSS feeds, etc.
The LDAP authority works by providing user or group names from an LDAP server as access tokens. These access tokens can be used by any repository connection type that provides for access tokens entered on a per-job basis, or by the JCIFs connection type, which has explicit user/group name support built in, meant for Samba shares.
This connection type needs to be provided with information about how to log into an appropriate LDAP server, as well as search expressions needed to look up user and group records. An active directory authority connection type has a single special tab in the authority connection editing screen: the "LDAP" tab:
LDAP Configuration, LDAP tab
Fill in the requested values. Note that the "Server base" field contains the LDAP domain specification you want to search. For example, if you have an LDAP domain for "people.myorg.com", the server based might be "dc=com,dc=myorg,dc=people".
When you are done, click the "Save" button. When you do, a connection summary and status screen will be presented, which may look something like this:
LDAP Status
Note that in this example, the LDAP connection is not responding, which is leading to an error status message instead of "Connection working".
Example configuration for ActiveDirectory server to fetch user groups:
- Server: [xxx.yyy.zzz.ttt]
- Port: 389
- Server base: [DC=domain,DC=name]
- Bind as user: [user@domain.name]
- Bind with password: [password for that user]
- User search base: CN=Users
- User search filter: sAMAccountName={0}
- User name attribute: sAMAccountName
- Group search base: CN=Users
- Group search filter: (member:1.2.840.113556.1.4.1941:={0})
- Group name attribute: sAMAccountName
- Member attribute is DN: yes (tick the checkbox)
member:1.2.840.113556.1.4.1941: gives you recursive check for nested groups
A LiveLink authority connection is needed to enforce security for documents retrieved from LiveLink repositories.
In order to function, this connection type needs to be provided with information about the name of the LiveLink server, and credentials appropriate for retrieving a user's ACLs from that machine. Since LiveLink operates with its own list of users, you may also want to specify a rule-based mapping between an Active Directory user and the corresponding LiveLink user. The authority type allows you to specify such a mapping using regular expressions.
A LiveLink authority connection has two special tabs you will need to configure: the "Server" tab and the "Cache" tab.
The "Server" tab looks like this:
LiveLink Authority, Server tab
Select the manner you want the connection to use to communicate with LiveLink. Your options are:
- Internal (native LiveLink protocol)
- HTTP (communication with LiveLink through the IIS web server)
- HTTPS (communication with LiveLink through IIS using SSL)
Also, you need to enter the name of the desired LiveLink server, the LiveLink port, and the LiveLink server credentials. If you have selected communication using HTTP or HTTPS, you must provide a relative CGI path to your LiveLink. You may also need to provide web server credentials. Basic authentication and older forms of NTLM are supported. In order to use NTLM, specify a non-blank server domain name in the "Server HTTP domain" field, plus a non- qualified user name and password. If basic authentication is desired, leave the "Server HTTP domain" field blank, and provide basic auth credentials in the "Server HTTP NTLM user name" and "Server HTTP NTLM password" fields. For no web server authentication, leave these fields all blank.
For communication using HTTPS, you will also need to upload your authority certificate(s) on the "Server" tab, to tell the connection which certificates to trust. Upload your certificate using the browse button, and then click the "Add" button to add it to the trust store.
The "Cache" tab allows you to configure how the authority connection keeps an individual user's information around:
LiveLink Authority, Cache tab
Here you set the time a user's information is kept around (the "Cache lifetime" field), and how many simultaneous users have their information cached (the "Cache LRU size" field).
When you are done, click the "Save" button. You will then see a summary and status for the authority connection:
LiveLink Authority Status
We suggest that you examine the status carefully and correct any reported errors before proceeding. Note that in this example, the LiveLink server would not accept connections, which is leading to an error status message instead of "Connection working".
A Meridio authority connection is required for enforcing security for documents retrieved from Meridio repositories.
This connection type needs to be provided with information about what Document Server to connect to, what Records Server to connect to, and what User Service Server to connect to. Also needed are the Meridio credentials that should be used to retrieve a user's ACLs from those machines.
Note that the User Service is part of the Meridio Authority, and must be installed somewhere in the Meridio system in order for the Meridio Authority to function correctly. If you do not know whether this has yet been done, or on what server, please ask your system administrator.
A Meridio authority connection has the following special tabs you will need to configure: the "Document Server" tab, the "Records Server" tab, the "User Service Server" tab, and the "Credentials" tab. The "Document Server" tab looks like this:
Meridio Authority, Document Server tab
Select the correct protocol, and enter the correct server name, port, and location to reference the Meridio document server services. If a proxy is involved, enter the proxy host and port. Authenticated proxies are not supported by this connection type at this time.
Note that, in the Meridio system, while it is possible that different services run on different servers, this is not typically the case. The connection type, on the other hand, makes no assumptions, and permits the most general configuration.
The "Records Server" tab looks like this:
Meridio Authority, Records Server tab
Select the correct protocol, and enter the correct server name, port, and location to reference the Meridio records server services. If a proxy is involved, enter the proxy host and port. Authenticated proxies are not supported by this connection type at this time.
Note that, in the Meridio system, while it is possible that different services run on different servers, this is not typically the case. The connection type, on the other hand, makes no assumptions, and permits the most general configuration.
The "User Service Server" tab looks like this:
Meridio Authority, User Service Server tab
You will require knowledge of where the special Meridio Authority extensions have been installed in order to fill out this tab.
Select the correct protocol, and enter the correct server name, port, and location to reference the Meridio user service server services. If a proxy is involved, enter the proxy host and port. Authenticated proxies are not supported by this connection type at this time.
Note that, in the Meridio system, while it is possible that different services run on different servers, this is not typically the case. The connection type, on the other hand, makes no assumptions, and permits the most general configuration.
The "Credentials" tab looks like this:
Meridio Authority, Credentials tab
Enter the Meridio server credentials needed to access the Meridio system.
When you are done, click the "Save" button. You will then see a screen looking something like this:
Meridio Authority Status
In this example, logon has not succeeded because the server on which the Meridio Authority is running is unknown to the Windows domain under which Meridio is running. This results in an error message, instead of the "Connection working" message that you would see if the authority was working properly.
Since Meridio uses Windows IIS for authentication, there are many ways in which the configuration of either IIS or the Windows domain under which Meridio runs can affect the correct functioning of the Meridio Authority. It is beyond the scope of this manual to describe the kinds of analysis and debugging techniques that might be required to diagnose connection and authentication problems. If you have trouble, you will almost certainly need to involve your Meridio IT personnel. Debugging tools may include (but are not limited to):
- Windows security event logs
- ManifoldCF logs (see below)
- Packet captures (using a tool such as WireShark)
If you need specific ManifoldCF logging information, contact your system integrator.
A Microsoft SharePoint ActiveDirectory authority connection is meant to furnish access tokens from Active Directory for a SharePoint instance that is configured to use Claims Based authorization. It cannot be used in any other situation.
The SharePoint ActiveDirectory authority is meant to work in conjunction with a SharePoint Native authority connection, and provides authorization information from one or more Active Directory domain controllers. Thus, it is only needed if Active Directory groups are used to furnish access to documents for users in the SharePoint system.
Documents must be indexed using a Microsoft SharePoint repository connection where the "Authority type" is specified to be "Native". If the "Authority type" is specified to be "Active Directory", then instead you should configure an Active Directory authority connection, described above.
This connection type needs to be provided with information about how to log into an appropriate Windows domain controller, with a user that has sufficient privileges to be able to look up any user's ID and group relationships.
A SharePoint Active Directory authority connection type has two special tabs in the authority connection editing screen: "Domain Controller", and "Cache". The "Domain Controller" tab looks like this:
SharePoint AD Configuration, Domain Controller tab
As you can see, the SharePoint Active Directory authority allows you to configure multiple connections to different, but presumably related, domain controllers. The choice of which domain controller will be accessed is determined by traversing the list of configured domain controllers from top to bottom, and finding the first one that matches the domain suffix field specified. Note that a blank value for the domain suffix will match all users.
To add a domain controller to the end of the list, fill in the requested values. Note that the "Administrative user name" field usually requires no domain suffix, but depending on the details of how the domain controller is configured, may sometimes only accept the "name@domain" format. When you have completed your entry, click the "Add to end" button to add the domain controller rule to the end of the list. Later, when other domain controllers are present in the list, you can click a different button at an appropriate spot to insert the domain controller record into the list where you want it to go.
The SharePoint Active Directory authority connection type also has a "Cache" tab, for managing the caching of individual user responses:
SharePoint AD Configuration, Cache tab
Here you can control how many individual users will be cached, and for how long.
When you are done, click the "Save" button. When you do, a connection summary and status screen will be presented, which may look something like this:
SharePoint AD Status
Note that in this example, the SharePoint Active Directory connection is not responding, which is leading to an error status message instead of "Connection working".
A Microsoft SharePoint Native authority connection is meant to furnish access tokens from the same SharePoint instance that the documents are coming from. You should use this authority type whenever you are trying to secure documents using a SharePoint repository connection that is configured to the use "Native" authority type.
If your SharePoint instance is configured to use the Claims Based authorization model, you may combine a SharePoint Native authority connection with other SharePoint authority types, such as the SharePoint ActiveDirectory authority type, to furnish complete authorization support. However, if Claims Based authorization is not configured, the SharePoint Native authority connection is the only authority type you should need to use.
A SharePoint authority connection has two special tabs on the authority connection editing screen: the "Server" tab, and the "Cache" tab. The "Server" tab looks like this:
SharePoint Native Authority, Server tab
Select your SharePoint server version from the pulldown. Check with your SharePoint system administrator if you are not sure what to select.
Select whether your SharePoint server is configured for Claims Based authorization or not. Check with your SharePoint system administrator if you are not sure what to select.
SharePoint uses a web URL model for addressing sites, subsites, libraries, and files. The best way to figure out how to set up a SharePoint connection type is therefore to start with your web browser, and visit the topmost root of the site you wish to crawl. Then, record the URL you see in your browser.
Select the server protocol, and enter the server name and port, based on what you recorded from the URL for your SharePoint site. For the "Site path" field, type in the portion of the root site URL that includes everything after the server and port, except for the final "aspx" file. For example, if the SharePoint URL is "http://myserver:81/sites/somewhere/index.asp", the site path would be "/sites/somewhere".
The SharePoint credentials are, of course, what you used to log into your root site. The SharePoint connection type always requires the user name to be in the form "domain\user".
If your SharePoint server is using SSL, you will need to supply enough certificates for the connection's trust store so that the SharePoint server's SSL server certificate can be validated. This typically consists of either the server certificate, or the certificate from the authority that signed the server certificate. Browse to the local file containing the certificate, and click the "Add" button.
The "Cache" tab looks like this:
SharePoint Native Authority, Cache tab
Fill in the desired caching parameters.
After you click the "Save" button, you will see a connection summary screen, which might look something like this:
SharePoint Native Status
Note that in this example, the SharePoint connection is not actually referencing a SharePoint instance, which is leading to an error status message instead of "Connection working".
Apache ManifoldCF trunk also ships authority connector implementations for Amazon S3 (AmazonS3Authority), Confluence v6 (ConfluenceAuthorityConnector), Google Drive (GoogleDriveAuthority), Jira (JiraAuthorityConnector), and Null Authority (NullAuthority — useful for testing and open/unrestricted security groups).
Apache ManifoldCF™ — Website · GitHub · Jira (CONNECTORS) · Mailing Lists · Security Policy · Apache License 2.0
Apache, Apache ManifoldCF, and the Apache feather logo are trademarks of The Apache Software Foundation.
- End-User Guide
- Included Connectors
- Repository Connectors
- Output Connectors
- Transformation Connectors
- Authority Connectors
- User Mapping Connectors
- Notification Connectors
- ManifoldCF SDK
- Developer Resources
- Writing Repository Connectors
- Writing Output Connectors
- Writing Authority Connectors
- Writing Mapping Connectors
- Writing Transformation Connectors