Saturday, September 06, 2008

Weblogic Embedded LDAP server

WebLogic Embedded LDAP

Good guide on how to use the embedded Weblogic LDAP server.

To view the current LDAP tree (but not! the myrealm security!!)
Weblogic -> Console -> Domain -> AdminServer -> View JNDI Tree
Other bits:
http://edocs.bea.com/wls/docs100/ConsoleHelp/taskhelp/security/ConfigureEmbeddedLDAPServers.html

Essentially you need to also set up a security credential password for weblogic (otherwise weblogic generates a random password)

Domain -> Security > Embedded LDAP
ps: you can also set anonymous bind here too.

Using it: Credentials: cn=Admin & password = credential password you set up earlier
Base Dn: dc=domain_name (ie: your weblogic domain name eg: weblogic)

Heirarchy:
Users  ou=people,ou=myrealm,dc=mydomain
Groups ou=groups,ou=myrealm,dc=mydomain

Security roles ou=ERole,ou=myrealm,dc=mydomain

Security policies ou=EResource,ou=myrealm,dc=mydomain


Using an LDAP browser, you get to see the following heirarchy when using Base DN: dc=weblogic

And when you use dc=Config you get