Hi

That example assumes Jetty is being used. In case of Tomcat a Tomcat
specific config should be used, I'm not very familiar with it though...

Cheers, Sergey
-----Original Message-----
From: Parimal Dhinoja [mailto:[email protected]] 
Sent: 20 November 2009 22:07
To: [email protected]
Subject: Re: How to communicate JAX-RS with https

Hi Sergey,

Thanks for the links. I am looking into jaxrs-https.xml (
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/o
<http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/
o
rg/apache/cxf/systest/jaxrs/security/jaxrs-https.xml>
rg/apache/cxf/systest/jaxrs/security/jaxrs-https.xml<http://svn.apache.o
rg/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/o
rg/apache/cxf/systest/jaxrs/security/jaxrs-https.xml>) but I couldn't
understand few things.

1. what is <httpj:engine-factory> and <http:conduit> ?

2. <httpj:engine-factory> has "port" parameter, what port number we
should
assign here? my all https request listens on 443 via tomcat.

2. I have Spring application with Tomcat6. In tomcat I have configured
SSL.
means without implementing any of the below solution, I am able to
access my
REST service via https. but I can also access the same service via http
which I don't want. I just want to allow https request to access my
service.
what can I do for that?

I really appreciate you quick and to the point response. Thank you very
much.

Regards,
Parimal

On Wed, Nov 18, 2009 at 3:43 PM, Sergey Beryozkin
<[email protected]>wrote:

> Hi
>
> Please see http://cxf.apache.org/docs/http-transport.html
> There's plenty of info there on how to configure HTTPS for
server/client
>
> Please see
>
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/o
> rg/apache/cxf/systest/jaxrs/security/jaxrs-https.xml
>
> and
>
>
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/o
> rg/apache/cxf/systest/jaxrs/security/jaxrs-https-url.xml
>
> for an example on how to configure client and server runtimes.
>
>
> Some more info is here
>
>
http://cxf.apache.org/docs/jax-rs.html#JAX-RS-ConfiguringHTTPConduitfrom
> Spring
>
> Hope it helps, SErgey
>
> -----Original Message-----
> From: Parimal Dhinoja [mailto:[email protected]]
> Sent: 18 November 2009 20:27
> To: [email protected]
> Subject: How to communicate JAX-RS with https
>
> Hi,
>
> I have developed JAX-RS webservice in my spring application. my
further
> requirement is to communicate this service through Https. I am novice
> user.
> Please let me know any good documents or other resource from where I
get
> more information about it and can try out implementation of https with
> my
> service.
>
> --
> Regards,
> Parimal
> "Nothing is stationary,Change is a part of Life"
>



-- 
Regards,
Parimal
"Nothing is stationary,Change is a part of Life"

Reply via email to