cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <glen.ma...@verizon.net>
Subject Re: Disable access to wsdl in Servlet transport
Date Wed, 17 Oct 2007 03:28:50 GMT
Jeff, 

I think he doesn't want people to see the WSDL file.  It's not the
service he wants to restrict, but viewing its WSDL.  I don't know if
that can be done.

Glen

Am Mittwoch, den 17.10.2007, 11:11 +0800 schrieb Jeff Yu:
> Hi,
> 
> There is an easy way that I came up is to use a filter in web.xml to 
> restrict the access.
> 
> Say there are three services: A,B,C  , we want to restrict the B,C 
> service. we can pulish the services as following:
> 
> http://host.com/services/secure/B
> http://host.com/services/secure/C
> http://host.com/services/A.
> 
> And then we will config a filter to restrict the 
> http://lhost.com/service/secure url to do the authentication.
> 
> So people can access the A service without any restriction, but need to 
> get authentication to access B,C service.
> 
> Thanks
> Jeff
> 
> 
> Egor Samarkhanov wrote:
> > Hello !
> >
> > How can I restrict access to WSDL of my service?
> > I don't want someone to access the
> > http//host.com/services/myservice?wsdl content.
> > And I use Servlet transport.
> >
> > Thanks,
> > Egor Samarkhanov (slash@actimind.com)
> >
> >
> >
> >   


Mime
View raw message