3.2.3 Testing LDAP Configuration Without Deploying OHI Components Application (Optional)
To quickly test the configuration of the WebLogic Authentication Provider, a sample web application is bundled with OHI Components applications releases for convenience. It can be used to test the LDAP configuration without having to deploy the OHI Components application.
Rationale: for every LDAP configuration change the WebLogic server needs to be restarted before the authentication can be tested again. Restarting the WebLogic server while the OHI Components application is deployed takes a significant amount. To reduce the amount of WebLogic restart time, this sample web application will be useful - it is very easy to install & test.
Follow the steps mentioned below to install and use the LDAP tester application:
Step 1:Login to the WebLogic Admin Server Console
Step 2:Install <OHI_ROOT>/util/ldap/ldaptest.war
Step 3:Navigate to http://<MACHINE_NAME/IP_ADDRESS>:<PORT>/ldaptest/login.jsp
Step 4:Enter a valid Username&Password. Click on Login button
Step 5:Upon successful authentication a page similar to the following is shown:
Step 6:If the authentication fails, an exception will be thrown, e.g. as is shown below: