[jboss-user] [Security & JAAS/JBoss] - Re: JBoss won't load login-config from webapp

oozoo do-not-reply at jboss.com
Wed Jul 16 03:34:58 EDT 2008


Exception is

anonymous wrote : javax.naming.InvalidNameException: ,CN=SSL,OU=Sybor,DC=syborag,DC=ch: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001BA, problem 2006 (BAD_NAME), data 8350, best match of:
  | 	',CN=SSL,OU=Company,DC=company,DC=ch'
  |  ]; remaining name ',CN=SSL,OU=Company,DC=company,DC=ch'
  | 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
  | 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
  | 	at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
  | 	at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
  | 	at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
  | 	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
  | 	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
  | 	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
  | 	at javax.naming.directory.InitialDirContext.search(Unknown Source)
  | 	at org.jboss.security.auth.spi.LdapExtLoginModule.rolesSearch(LdapExtLoginModule.java:421)
  | 	at org.jboss.security.auth.spi.LdapExtLoginModule.createLdapInitContext(LdapExtLoginModule.java:351)
  | 	at org.jboss.security.auth.spi.LdapExtLoginModule.validatePassword(LdapExtLoginModule.java:232)
  | 	at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:210)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at javax.security.auth.login.LoginContext.invoke(Unknown Source)
  | 	at javax.security.auth.login.LoginContext.access$000(Unknown Source)
  | 	at javax.security.auth.login.LoginContext$4.run(Unknown Source)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
  | 	at javax.security.auth.login.LoginContext.login(Unknown Source)
  | 	at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
  | 	at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
  | 	at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
  | 	at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
  | 	at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:180)
  | 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
  | 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | 	at java.lang.Thread.run(Unknown Source)

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

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



More information about the jboss-user mailing list