Enabling security with federated repositories
To use WebSphere Commerce with LDAP, you must configure WebSphere Application Server Administrative Security with Federated Repositories. The WebSphere Commerce Integration Wizard does the configuration for you. The federated repositories consist of one or more LDAP servers and a built-in, file-based repository.
The file-based repository stores the WebSphere Application Server Primary Administrative User. Even if the LDAP server is unavailable, the Primary Administrative User can still log on to the WebSphere Application Server administrative console.
Before you begin
Before you start the WebSphere Commerce Integration Wizard, ensure that you complete the following tasks:
- Ensure that the WebSphere Application Server administrative server is running.
- If your WebSphere Commerce Server is managed by a WebSphere Application
Server deployment manager, make sure the following are started:
- WebSphere Application Server deployment manager server (dmgr).
- The node agent on the local WebSphere Commerce machine.
- WebSphere Commerce application server (server1) on the local WebSphere Commerce machine.
- Ensure that WebSphere Application Server is not started.
- Ensure that the database is started.
- If WebSphere Application Server security is already enabled by using an Operating System registry, you must disable WebSphere Application Server security.
- If you are using SSL with the LDAP server, ensure that WebSphere
Application Server administrative security (global security) is enabled
by using the file-based registry. Otherwise, the configuration scripts
fail when not enabled in advance. Follow the steps in Enabling security with a WebSphere file-based user registry only.Important: Ensure that you complete the following steps:
- Restart the WebSphere Application Server.
- Update the WebSphere Commerce configuration according to the steps defined in the task. For example, complete the steps to update the WebSphere Commerce Configuration Manager after you configure the administrative security. Or, for WebSphere Commerce Developer, complete the manual steps to update the wc-server.xml file and the WebSphere Commerce Test Server properties in Rational Application Developer.
- If you are planning to set up WebSphere Commerce to connect with multiple LDAP servers, understand the sample configuration steps in Federating two LDAP servers with a common root organization.
About this task
Procedure
What to do next
If you are working in your development environment and you enabled application security, you must also enable application security on your search server. For more information, see Securing the WebSphere Commerce search server.
Using the command line
Procedure
Alternatively, enable WebSphere Application Server security with Federated Repositories by using the command line. For example, when you want to use an LDAP Version 3 server other than one that is supported by the WebSphere Commerce Integration Wizard.
- IBM Tivoli Directory Server
- Lotus Domino Enterprise Directory Server
- Sun Java System Directory Server
- Windows Active Directory
- Novell eDirectory
What to do next
If you are working in your development environment and you enabled application security, you must also enable application security on your search server. For more information, see Securing the WebSphere Commerce search server.