I want my user accounts to be stored in a LDAP (for e.g. OpenLDAP), and the users of my web application login based on this LDAP user accounts.
I know I can configure weblogic to manage this, anyone has any online tutorial article for this topic?
You can set up Weblogic to use an external LDAP (it uses a built-in one by default), but you can't manage it through Weblogic. I use Apache Directory Studio.
Once you have your LDAP set up, open the Weblogic console and create an Authenticator under Security Realms->myrealm->Providers. You'll need to provide the appropriate contact and mapping information for your configuration. That all depends on how you set up the database and for those details you'll have to rely on the provider's documentation.
I have successfully got Apache Directory working with my Weblogic.
The users and groups from Apache Directory is showing in Weblogic Users & Groups section.
However, when I tried to login by using j_security_check, it always returns "Authentication Failed".
I have created some users and groups manually from weblogic, I can login with those users, but not those from Apache Directory.
I guess it could be caused by the password encryption in Apache Directory, when I set up a user, the password will be set to SSHA even I have selected plaintext.
If not my config files could be wrong.