user2387570
user2387570

Reputation: 13

Worklight Console protection using LDAP

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

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

Yes, you can do this.

You will need to edit your authenticationConfig.xml as follows:

  1. Add a LDAP loginModule
  2. Add a LDAP realm
  3. Update the existing "WorklightConsole" custom securityTest to use the new realm

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

Related Questions