Access with authorization delegated to Decision Center
You configure security access for your users and delegate authorization to Decision Center.
- Establish the user registry, for example a connection to an LDAP or a basic file-based registry.
- Set the security realm to authenticate all users and delegate authorization to Decision Center
- Create an administrative user in the user registry to complete the initial Decision Center configuration.
- rtsUser - Standard access.
- rtsConfigManager - Configuration manager access. All the rights of the standard user, and can, for example, create deployment configurations.
- rtsAdministrator - Administrator access. All the rights of the standard and configuration manager users, and can, for example, enable security and perform administrative tasks.
- rtsInstaller - Access to the Installation Settings Wizard in the Enterprise console.
After configuring security access to Decision Center, you complete the configuration of Decision Center. Then, you must create users and groups in the Decision Center database to make use of security and fined grained permissions (see Managing users from Decision Center.)
Step 1: Establish the user registry
- A registry of users from which the application server authenticates access to Decision Center.
- The Decision Center database, so that each authenticated user can receive a permission profile from Decision Center.
- If you are using an LDAP, establish this user registry at the same time as you set the security realm, as shown in the next step.
- If you are using the Tomcat user database, keep the default entry
under <GlobalNamingResources>:
<Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" />
Step 2: Set the security realm
You must set the security realm so that the application server authenticates users and delegates authorization to Decision Center.
<Realm className="org.apache.catalina.realm.JNDIRealm"
allRolesMode="authOnly"
connectionName="uid=admin,ou=Users,dc=example,dc=com"
connectionPassword="secret"
connectionURL="ldap://localhost:10389"
userBase="ou=Users,dc=example,dc=com"
userSubtree="true"
userSearch="(uid={0})"
roleBase="ou=Groups,dc=example,dc=com"
roleName="cn"
roleSearch="(member={0})"
roleSubtree="true"
roleNested="true"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
allRolesMode="authOnly"
resourceName="UserDatabase"/>
</Realm>
Users from the user registry are all authenticated to log in to both Decision Center consoles, and are authorized the features of a basic user.
Step 3: Declare a user to complete the Decision Center configuration
You must create a user to complete the configuration of Decision Center. This user must have the rights of both rtsAdministrator and rtsInstaller.
The following table indicates the roles required for a user to complete the configuration.
| Role | Use | Example user/password combination |
|---|---|---|
| rtsAdministrator | Gives the user administrator access. | rtsAdmin/rtsAdmin |
| rtsInstaller | Gives the user access to the Installation Settings Wizard, to complete the configuration by administering the Decision Center database. | rtsAdmin/rtsAdmin |
- If you are using an LDAP, create a user and place the user in the two equivalent groups.
- If you are using the Tomcat registry, add the following code to <CATALINA_HOME>/conf/tomcat-users.xml:
<role rolename="rtsAdministrator"/> <role rolename="rtsInstaller"/> <user username="rtsAdmin" password="rtsAdmin" roles="rtsInstaller,rtsAdministrator"/>