Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7230

Unable to disable access to default wadl genearated by cxf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.10, 3.0.13, 3.2.0
    • Component/s: JAX-RS
    • Labels:
    • Environment:

      karaf 3.0.2
      cxf 2.7.13

    • Estimated Complexity:
      Unknown

      Description

      When I access localhost:8181/cxf?_wadl, all the the endpoints are listed out. I tried setting property org.apache.cxf.endpoint.private to true in blueprint.xml, but still the cxf generated wadl file is accessible.Here is the config

      <jaxrs:server id="edisc" address="/cxf">
      <jaxrs:serviceBeans>
      <ref component-id="applicationWebService" />
      </jaxrs:serviceBeans>
      <jaxrs:providers>
      <ref component-id="jsonProvider" />
      </jaxrs:providers>
      <jaxrs:properties>
      <entry key="org.apache.cxf.endpoint.private" value="true" />
      </jaxrs:properties>
      </jaxrs:server>

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              rmunna Rajakumar Munna
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: