Reputation: 13
I'm able to protect Worklight console with an user inside worklight.properties
file (on Liberty or WAS environment).
How can I protect console with a LDAP user (outside of the worklight.properties
file)?
Upvotes: 1
Views: 645
Reputation: 44516
Yes, you can do this.
You will need to edit your authenticationConfig.xml as follows:
After the above changes, once loading Worklight Console and entering the user credentials, these should be handled by the loginModule to authenticate against the LDAP server.
See the following IBM Worklight Getting Started training module, which is about this very topic:
Using LDAP Login Module to authenticate users with LDAP server
Upvotes: 2