Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4015

Protecting EJB based Web services but excluding wsdl from the protection

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.2
    • OpenEJB, webservices
    • Security Level: public (Regular issues)
    • None

    Description

      When we protect a Web service using HTTP Basic authentication we protect all access to that Webservice endpoint URL even to the generated WSDL.

      When exposing a POJO based webservices using a Web project the usual work around is to set the http-method to only protect POST requests. So the GET to the wsdl will not be protected.

      However when exposing an EJB based Webservice we can not configure that, so the wsdl is always protected for POST or GET requests.

      It would be nice if we could change that...

      here is a example of the EJB WS security deployment plan:
      <ejb:enterprise-beans>
      <ejb:session>
      <ejb:ejb-name>Test</ejb:ejb-name>
      <ejb:web-service-security>
      <ejb:security-realm-name>
      WSTest
      </ejb:security-realm-name>
      <ejb:transport-guarantee>NONE</ejb:transport-guarantee>
      <ejb:auth-method>BASIC</ejb:auth-method>
      </ejb:web-service-security>
      </ejb:session>
      </ejb:enterprise-beans>

      No place for defining the HTTP method.

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            rafael.coutinho@gmail.com Rafael Thomas Goz Coutinho
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: