You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/01/25 10:50:26 UTC
[jira] [Commented] (CXF-7230) Unable to disable access to default
wadl genearated by cxf
[ https://issues.apache.org/jira/browse/CXF-7230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15837561#comment-15837561 ]
Sergey Beryozkin commented on CXF-7230:
---------------------------------------
I believe, in OSGI, the formatted services list handler did not see an initialized bus until CXF 3.1.8 but I see the check for the private endpoints can still fail now as the attempt to initialize a bus is done later.
> Unable to disable access to default wadl genearated by cxf
> ----------------------------------------------------------
>
> Key: CXF-7230
> URL: https://issues.apache.org/jira/browse/CXF-7230
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Environment: karaf 3.0.2
> cxf 2.7.13
> Reporter: Rajakumar Munna
> Labels: cxf, karaf
> Fix For: 2.7.13
>
>
> 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>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)