[jboss-user] [Management, JMX/JBoss] - Jconsole, JBoss and LDAP authentication

boniek do-not-reply at jboss.com
Fri Jan 18 10:32:07 EST 2008


I can't get this to work. It works for anything I have tried, but JBossAS.
I'm using jdk 1.6u4 and JBoss 4.2.1

cd /opt/java/demo/jni/Poller/
and then run this:
/opt/java/bin/java -Dcom.sun.management.jmxremote.port=9998 -Dcom.sun.management.jmxremote.login.config=LDAPAuth -Djava.security.auth.login.config=/opt/jboss/jmxauth.config -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.access.file=/opt/jboss/jmxremote.access SimpleServer

jmxauth.config
LDAPAuth {
  |     com.sun.security.auth.module.LdapLoginModule REQUIRED
  |         userProvider="ldap://host:port/ldapstring"
  |         userFilter="(&(uid={USERNAME})(objectClass=inetorgperson))"
  |         useSSL=false;
  |     };

jmxremote.access
admin readwrite

And it works.
When running JBoss with same options - it doesn't

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121312#4121312

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121312



More information about the jboss-user mailing list