-
1. Re: JBOSS LDAP Integration
sfisque Jul 25, 2008 12:53 PM (in response to indra_joy)is this a web app or a web service?
if it is a webapp, have you connected the security handler ( in your code, "ldap-security") with the security-constraints in your app. there is documentation for doing this so i will not repeat it here.
if it is a web service, make sure the end point knows about the security handler. if you are using EJB3 endpoints, you will need to add the @WebContext and @SecurityDomain annotations. if you are deploying it in a more traditional format, the xml descriptor files will need to be updated to include this linkage.
== stanton -
2. Re: JBOSS LDAP Integration
indra_joy Jul 25, 2008 1:25 PM (in response to indra_joy)You Are correct. But My problem is little different. I want to validate LDAP user when I click on http://localhost:8080/jmx_console. If I defined the application policy in the Login-config to authenticate. I should get a pop-up for logging in the JMX_CONSOLE. Where this user will be from LDAP.
Please correct if I am wrong. -
3. Re: JBOSS LDAP Integration
sfisque Jul 25, 2008 2:12 PM (in response to indra_joy)does the jboss-web.xml inside the jmx-console.war have a reference to the security domain?
e.g.
<jboss-web>
<security-domain>java:/jaas/ldap-security</security-domain>
</jboss-web>
note the java:/jaas/ in front of the name you gave it in the login-config.xml
== stanton -
4. Re: JBOSS LDAP Integration
indra_joy Jul 28, 2008 9:42 AM (in response to indra_joy)Thanks sir tried the same but it's no good. Still it's saying no security domain given
-
5. Re: JBOSS LDAP Integration
sguilhen Jul 30, 2008 4:09 PM (in response to indra_joy)indra_joy: try following this documentation in order to secure the jmx-console: http://wiki.jboss.org/wiki/SecureTheJmxConsole