Hi,
We are currently working on Migration project where application will Migrate from
Jboss 5.1 to WebLogic 10.3. In JBoss the configured Realm as below in server.xml file:
<Realm className="org.apache.catalina.realm.JNDIRealm"
debug="99"
connectionName="cn=Manager,dc=mycompany,dc=com"
connectionPassword="XXXXXXX"
connectionURL="ldap://XX.XX.XX.XXX:389"
userPassword="userPassword"
userPattern="uid={0},ou=people,dc=mycompany,dc=com"
roleBase="ou=groups,dc=mycompany,dc=com" roleName="cn"
roleSearch="(uniqueMember={0})" />
Also we have below configuration in web.xml for our Web Application
<security-constraint>
<display-name>Security Constraint</display-name>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>manager</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<security-role>
<role-name>manager</role-name>
</security-role>
It works perfect with Jboss. Can you please let me know where I can do similar configuration in web logic 10.3?
I know we can done this using Admin console but not sure which property from server.xml will mapped to which field in Web Logic conf.xml?
I have also seen here -
https://coderanch.com/t/421099/BEA-Weblogic/weblogic-open-LDAP-authentication#1857651 but still got some issues.
Please see OpenLdap ldif file and conf.xml file for more details.
Regards,