I'm attempting to secure the jmx-console according to the directions here:
 
http://www.jboss.org/wiki/Wiki.jsp?page=BaseCertLoginModule
 
In my jmx-console-roles.properties file, I have the distinguished name of my certificate.  However, when I attempt to login, I get the following error:
 
2004-07-29 08:32:48,515 DEBUG [org.jboss.security.auth.spi.BaseCertLoginModule] securityDomain=java:/jaas/jmx-console
2004-07-29 08:32:48,515 DEBUG [org.jboss.security.auth.spi.BaseCertLoginModule] found domain: org.jboss.security.plugins.JaasSecurityDomain
2004-07-29 08:32:48,515 DEBUG [org.jboss.security.auth.spi.BaseCertLoginModule] exit: initialize(Subject, CallbackHandler, Map, Map)
2004-07-29 08:32:48,515 DEBUG [org.jboss.security.auth.spi.BaseCertLoginModule] enter: login()
2004-07-29 08:32:48,515 DEBUG [org.jboss.security.auth.spi.BaseCertLoginModule] enter: getAliasAndCert()
2004-07-29 08:32:48,515 DEBUG [org.jboss.security.auth.spi.BaseCertLoginModule] exit: getAliasAndCert()
2004-07-29 08:32:48,515 DEBUG [org.jboss.security.auth.spi.BaseCertLoginModule] enter: validateCredentail(String, X509Certificate)
2004-07-29 08:32:48,546 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Bad password for <DN of my certificate>
2004-07-29 08:32:48,546 DEBUG [org.jboss.security.plugins.JaasSecurityDomain.jmx-console] Login failure
javax.security.auth.login.LoginException: java.lang.NullPointerException
 at org.jboss.security.auth.spi.BaseCertLoginModule.validateCredential(BaseCertLoginModule.java:323)
 at org.jboss.security.auth.spi.BaseCertLoginModule.login(BaseCertLoginModule.java:175)
I noticed, however, that the instructions don't say anything about the jmx-console-users.properties file.  Is there anything that I should be placing in this file.  Could that be creating this error?  I'd really appreciate any help you could give me.  Thanks!
 
Steve Nakhla
 
 


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

Reply via email to