Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Peter_Dubec
Contributor
Contributor

ESB services with LDAP

Hello,

I have to secure services in ESB by LDAP.

I try with:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0"
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/
v1.0.0">

<!-- Bean that allows the $[karaf.base] property to be resolved --> <ext:property-placeholder
placeholder-prefix="$[" placeholder-suffix="]"/>

<jaas:config name="karaf"> <jaas:module
className="org.apache.karaf.jaas.modules.ldap.LDAPLoginModule"
flags="required">
connection.url = ldap://ldap:389
connection.username = ...

...

 

I placed it to file runtime/deploy/ldap-module.xml

but I see empty output after 

list jaas:realm-list

 

Is it a good way with problems, or I must change it substantially?

Labels (1)
  • ESB

0 Replies