Category: LDAP
this category contains posts related to LDAP Server
Configuring Active Directory Authenticator with Weblogic Server
Weblogic Server comes with an Embedded LDAP Server which acts as the Default Provider for authentication, authorization and rolemapping.Since authentication is based on JAAS ( Java Authentication and Authorization Service), we can have external providers as well.These providers can be
Continue readingConnecting to Weblogic Server Embedded LDAP using LDAP Browser
Weblogic Server Embedded LDAP Server runs on the same port as the Server. The Master LDAP Server runs on the same port on which the Admin Server runs. Any changes is first made on the Master LDAP Server and it
Continue readingLDAP Authentication on JBoss
The below post demonstrates a sample configuration of LDAP Server with JBoss Server Steps: 1. Install OpenDS Directory Server. 2. Import the following LDIF file *********************************** base.ldif dn: ou=People,dc=bea,dc=com objectclass: top objectclass: organizationalUnit ou: People dn: uid=faisal,ou=People,dc=bea,dc=com objectclass: top objectclass:
Continue readingConfiguring OpenDS with Weblogic Server
Download Install and Configure OpenDS. I used the following LDIF as BASE while installing OpenDS. dn: dc=oracle,dc=com dc: oracle objectClass: domain objectClass: top dn: ou=TEST, dc=oracle,dc=com ou: TEST objectClass: organizationalUnit objectClass: top dn: cn=faisal,ou=TEST, dc=oracle,dc=com uid: faisal userPassword:: e1NTSEF9dnhBYUZKRzBONmwzWTdRMHBQRmdiczZrRHd5VUNwWCtCQTdlaHc9PQ ==
Continue readingCreate Active Directory Authentication Provider from WLST
connect(‘weblogic’,’weblogic’,’t3://localhost:7001′) edit() startEdit(-1,-1,’false’) cmo.getSecurityConfiguration().getDefaultRealm().createAuthenticationProvider(‘ADAuthenticator’, ‘weblogic.security.providers.authentication.ActiveDirectoryAuthenticator’) cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider(‘ADAuthenticator’).setControlFlag(‘OPTIONAL’) cd(‘/SecurityConfiguration’) cd(‘base_domain’) cd(‘Realms/myrealm/AuthenticationProviders’) cd(‘ADAuthenticator’) cmo.setGroupBaseDN(‘CN=Users,DC=faisal,DC=bea,DC=com’) cmo.setUserBaseDN(‘CN=Users,DC=faisal,DC=bea,DC=com’) cmo.setAllGroupsFilter(‘(objectclass=group)’) cmo.setPrincipal(‘CN=Administrator,CN=Users,DC=faisal,DC=bea,DC=com’) cmo.setCredential(‘Passw0rd’) cmo.setPort(389) cmo.setHost(‘localhost’) save() activate()
Continue readingCreating Users in Weblogic Server Embedded LDAP Programatically.
I have received many requests from Clients for code snippet to create users programmatically.Below is a sample code by which we can create users in the Embedded LDAP of Weblogic Server.Put simple, this program creates an MBean Server connection, traverses
Continue reading