0 Replies Latest reply on Dec 1, 2010 3:40 PM by Fernanda Reyes

    Guvnor LdapLoginModule on OC4J

    Fernanda Reyes Newbie

      Hi!

       

      I am trying to deploy drools guvnor 5.1 on oc4j using LdapLoginModule and I have been receiving this error message:

       

      INFO  29-11 17:37:54,078 (SecurityServiceImpl.java:login:75)     Logging in user [rrivera]
      ERROR 29-11 17:37:54,093 (SecurityServiceImpl.java:login:95)     Unable to login.
      javax.security.auth.login.LoginException: No se han configurado LoginModules para configuracionLdap
              at javax.security.auth.login.LoginContext.init(LoginContext.java:256)
              at javax.security.auth.login.LoginContext.<init>(LoginContext.java:367)
              at javax.security.auth.login.LoginContext.<init>(LoginContext.java:444)
              at org.jboss.seam.security.Identity.getLoginContext(Identity.java:406)
              at org.jboss.seam.security.Identity.authenticate(Identity.java:324)
              at org.drools.guvnor.server.security.SecurityServiceImpl.login(SecurityServiceImpl.java:93)
              at org.drools.guvnor.server.SecurityServiceServlet.login(SecurityServiceServlet.java:73)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
              at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
              at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
              at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
              at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
              at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)
              at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
              at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
              at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
              at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
              at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
              at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
              at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
              at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
              at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
              at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
              at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
              at java.lang.Thread.run(Thread.java:619)

      INFO  29-11 17:37:54,078 (SecurityServiceImpl.java:login:75)     Logging in user [administrador]

      ERROR 29-11 17:37:54,093 (SecurityServiceImpl.java:login:95)     Unable to login.

      javax.security.auth.login.LoginException: No se han configurado LoginModules para configuracionLdap

              at javax.security.auth.login.LoginContext.init(LoginContext.java:256)

              at javax.security.auth.login.LoginContext.<init>(LoginContext.java:367)

              at javax.security.auth.login.LoginContext.<init>(LoginContext.java:444)

              at org.jboss.seam.security.Identity.getLoginContext(Identity.java:406)

              at org.jboss.seam.security.Identity.authenticate(Identity.java:324)

              at org.drools.guvnor.server.security.SecurityServiceImpl.login(SecurityServiceImpl.java:93)

              at org.drools.guvnor.server.SecurityServiceServlet.login(SecurityServiceServlet.java:73)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)

              at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)

              at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)

              at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

              at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)

              at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)

              at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)

              at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)

              at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)

              at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

              at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

              at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

              at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

              at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

              at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

              at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)

              at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)

              at java.lang.Thread.run(Thread.java:619)

       

      Does anyone know how to configure guvnor ear in order to deploy it on oc4j?

       

      Thanks in advance!!!