[jboss-jira] [JBoss JIRA] Created: (JBRULES-2534) Send https requests from drools-server to guvnor instead of http requests

Vincent BONNEFOY (JIRA) jira-events at lists.jboss.org
Thu Jun 3 05:37:46 EDT 2010


Send https requests from drools-server to guvnor instead of http requests
-------------------------------------------------------------------------

                 Key: JBRULES-2534
                 URL: https://jira.jboss.org/browse/JBRULES-2534
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-core  (expert)
    Affects Versions: 5.0.1.FINAL
         Environment: drools-server (expert) deployed on WAS 7 with drools-guvnor.
            Reporter: Vincent BONNEFOY
            Assignee: Mark Proctor


Security has been added to drools-guvnor. 
We want to access guvnor packages from drools-server in https mode, but it seems that there is nothing simple done to add username/password in the request.

The org.drools.agent.HttpClientImpl class contains 2 methods : checkLastUpdated and fetchPackage which use java.net.HttpURLConnection class for remote connection.
This HttpClientImpl class is an attribute of the org.drools.agent.URLScanner class :
"IHttpClient httpClient = new HttpClientImpl();"

If I want to add authentification information to the HttpURLConnection object, I have to extend the HttpClientImpl class, and URLScanner class and org.drools.agent.RuleAgent and org.drools.server.KnowledgeStatelessServlet...

Is there a simple way to add authentification without having to extend all these classes ?

Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list