[JBoss JIRA] Created: (JBPM-3054) jBPM Console Server can not access resources on Guvnor when security is enabled
by Cristiano Nicolai (JIRA)
jBPM Console Server can not access resources on Guvnor when security is enabled
-------------------------------------------------------------------------------
Key: JBPM-3054
URL: https://issues.jboss.org/browse/JBPM-3054
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Console
Affects Versions: jBPM 5.0
Environment: jbpm-gwt-console-server 5.0.0
drools-guvnor 5.2.0.M1
jbossas 5.1
Reporter: Cristiano Nicolai
Assignee: Kris Verlaenen
Attachments: 0005-Workaround-to-integrate-jbpm-gwt-console-server-with.patch
If security is enabled on Guvnor, jbpm-gwt-console-server is not able to access process images and templates.
A security exception is thrown because jbpm-gwt-console-server does not propagate any security info to Guvnor.
2011-02-14 11:35:57,355 ERROR [STDERR] (http-0.0.0.0-8080-2) java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defa... 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at java.net.URL.openStream(URL.java:1010) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at org.jbpm.integration.console.graph.GraphViewerPluginImpl.getDiagramURL(GraphViewerPluginImpl.java:256) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at org.jboss.bpm.console.server.ProcessMgmtFacade.decorateProcessDefintions(ProcessMgmtFacade.java:154) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:123) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at java.lang.reflect.Method.invoke(Method.java:597) 2011-02-14 11:35:57,356 ERROR [STDERR] (http-0.0.0.0-8080-2) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) 2011-02-14 11:35:57,357 ERROR [STDERR] (http-0.0.0.0-8080-2) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) 2011-02-14 11:35:57,357 ERROR [STDERR] (http-0.0.0.0-8080-2) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) 2011-02-14 11:35:57,357 ERROR [STDERR] (http-0.0.0.0-8080-2) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) 2011-02-14 11:35:57,357 ERROR [STDERR] (http-0.0.0.0-8080-2) at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira