Enable Connection to Active Directory
In order to enable the use of Active Directory you need to create a configuration file defining how to connect to Active Directory, and deploy it together with the Content Store as follows:
-
Login as
escenic
on your assembly-host (see the CUE Content Store Installation Guide for an explanation of this term). -
Go to the location of the assembly tool's
classes
folder:$
cd /opt/escenic/assemblytool/classes/ -
Create a new directory structure:
$
mkdir -p com/escenic/jaas -
Create a new file named
shiro.conf
in the new directory and open it in an editor. Enter the following configuration settings:[main] activeDirectoryRealm = org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm activeDirectoryRealm.url=ldap://my_server:3268/ activeDirectoryRealm.searchBase=dc=my,dc=company activeDirectoryRealm.systemUsername=my_username activeDirectoryRealm.systemPassword=my_password
Set the parameters to match your Active Directory set up:
activeDirectoryRealm.url
-
The URL of your Active Directory server.
activeDirectoryRealm.searchBase
-
The base dn of your Active Directory.
activeDirectoryRealm.systemUsername
-
The user name to use when connection to Active Directory.
activeDirectoryRealm.systemPassword
-
The password to use when connecting to Active Directory.
-
Save the file and build a new ear file by entering:
$
ece clean assemble -
Deploy the ear file to your engine-hosts.