geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josef.Eis...@bgs-ag.de
Subject Antwort: Re: Re: Re: Using WS-Security with Geronimo 2.1.1
Date Mon, 30 Jun 2008 13:31:38 GMT
Hi,

as far as I see in Geronimo 2.1.1 is no cxf-rt-ws-security-*.*.jar:

user@ubuntu-vmware:~/geronimo$ pwd
/home/user/geronimo
user@ubuntu-vmware:~/geronimo$ find . -name *cxf*
./repository/org/apache/cxf
./repository/org/apache/cxf/cxf-api
./repository/org/apache/cxf/cxf-api/2.0.2-incubator/cxf-api-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-rt-databinding-jaxb
./repository/org/apache/cxf/cxf-rt-databinding-jaxb/2.0.2-incubator/cxf-rt-databinding-jaxb-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-rt-frontend-jaxws
./repository/org/apache/cxf/cxf-rt-frontend-jaxws/2.0.2-incubator/cxf-rt-frontend-jaxws-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-common-utilities
./repository/org/apache/cxf/cxf-common-utilities/2.0.2-incubator/cxf-common-utilities-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-rt-bindings-xml
./repository/org/apache/cxf/cxf-rt-bindings-xml/2.0.2-incubator/cxf-rt-bindings-xml-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-rt-transports-http
./repository/org/apache/cxf/cxf-rt-transports-http/2.0.2-incubator/cxf-rt-transports-http-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-rt-frontend-simple
./repository/org/apache/cxf/cxf-rt-frontend-simple/2.0.2-incubator/cxf-rt-frontend-simple-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-rt-core
./repository/org/apache/cxf/cxf-rt-core/2.0.2-incubator/cxf-rt-core-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-rt-bindings-soap
./repository/org/apache/cxf/cxf-rt-bindings-soap/2.0.2-incubator/cxf-rt-bindings-soap-2.0.2-incubator.jar
./repository/org/apache/cxf/cxf-tools-common
./repository/org/apache/cxf/cxf-tools-common/2.0.2-incubator/cxf-tools-common-2.0.2-incubator.jar
./repository/org/apache/geronimo/modules/geronimo-cxf
./repository/org/apache/geronimo/modules/geronimo-cxf/2.1.1/geronimo-cxf-2.1.1.jar
./repository/org/apache/geronimo/modules/geronimo-cxf-builder
./repository/org/apache/geronimo/modules/geronimo-cxf-builder/2.1.1/geronimo-cxf-builder-2.1.1.jar
./repository/org/apache/geronimo/modules/geronimo-cxf-ejb
./repository/org/apache/geronimo/modules/geronimo-cxf-ejb/2.1.1/geronimo-cxf-ejb-2.1.1.jar
./repository/org/apache/geronimo/modules/geronimo-cxf-ejb-builder
./repository/org/apache/geronimo/modules/geronimo-cxf-ejb-builder/2.1.1/geronimo-cxf-ejb-builder-2.1.1.jar
./repository/org/apache/geronimo/configs/cxf-ejb-deployer
./repository/org/apache/geronimo/configs/cxf-ejb-deployer/2.1.1/cxf-ejb-deployer-2.1.1.car
./repository/org/apache/geronimo/configs/cxf
./repository/org/apache/geronimo/configs/cxf/2.1.1/cxf-2.1.1.car
./repository/org/apache/geronimo/configs/cxf-ejb
./repository/org/apache/geronimo/configs/cxf-ejb/2.1.1/cxf-ejb-2.1.1.car
./repository/org/apache/geronimo/configs/cxf-deployer
./repository/org/apache/geronimo/configs/cxf-deployer/2.1.1/cxf-deployer-2.1.1.car



As proposed I copied the file "cxf-rt-ws-security-2.0.2-incubator.jar" 
from http://archive.apache.org/dist/incubator/cxf/2.0.2-incubator/ into my 
application WAR-File. I can redeploy the new EAR-File and I get no errors. 
Any proposals for a quick test if ws-security is working fine?

Regards Josef




"Sainath Chowdary" <sainathdreams@gmail.com> 
30.06.2008 13:02
Bitte antworten an
user@geronimo.apache.org


An
user@geronimo.apache.org
Kopie

Thema
Re: Re: Re: Using WS-Security with Geronimo 2.1.1






Hi Alexey Kakunin,

If you know how to work with security and if cxf-rt-ws-security is not 
present in Geronimo then you should try copying the jar file 
(cxf-rt-ws-security-*.*.jar) into the project folder class path default 
location (i.e WEB-INF/lib) and use it is any normal library that is 
present on server.

Be careful with the version as it can create some mismatches with CXF 
version present in Geronimo (2.0.2-incubator).

Regards,

On Sat, Jun 28, 2008 at 1:00 AM, Alexey Kakunin <akakunin@emdev.ru> wrote:
CXF Should work fine with WS-Security - only problem what package 
cxf-rt-ws-security is not included into Geronimo repository

2008/6/27 <Josef.Eisele@bgs-ag.de>:


Hi Lin and all WS-Experts,

with the help of Sainath I configured now CXF for my Geronimo. 
In my Geronimo 2.1.1 Installation I found in the METAINF-File for 
cxf-rt-core-2.0.2-incubator.jar:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: dkulp
Build-Jdk: 1.5.0_12
Implementation-Title: Apache CXF Runtime Core
Implementation-Vendor: The Apache Software Foundation
Implementation-Vendor-Id: org.apache
Implementation-Version: 2.0.2-incubator
Specification-Title: Apache CXF Runtime Core
Specification-Vendor: The Apache Software Foundation
Specification-Version: 2.0.2-incubator

So I think Geronimo uses Version 2.0.2 from CXF ? If I understand 
http://www.nabble.com/-ANNOUNCE--Apache-CXF-2.0.2-incubator-is-released!-to12892222.html 
right this version is from September 2007. At the moment 2.1.1 is 
released.

But this old version should work with WS-Security ?!

* Web Services Standards Support: CXF supports a variety of web service 
standards including SOAP, the Basic Profile, WSDL, WS-Addressing, 
WS-Policy, WS-ReliableMessaging, and WS-Security. 

Mit freundlichen Grüßen / Kind regards
Josef Eisele

Direkt: +49 (0) 6131 / 914-180



"Lin Sun" <linsun.unc@gmail.com>
27.06.2008 15:25


Bitte antworten an
user@geronimo.apache.org


An
user@geronimo.apache.org
Kopie

Thema
Re: Re: Using WS-Security with Geronimo 2.1.1








Hi, You are right that G comes with 2 webservice implementations.    I
actually don't know if this function is avail with CXF.   I was hoping
others could comment on that.

Lin

On Fri, Jun 27, 2008 at 4:37 AM,  <Josef.Eisele@bgs-ag.de> wrote:
>
> Hi Lin,
>
> thank you very much for your quick response. If I understand you right
> Geronimo comes with 2 webservice implementations: Apache Axis2 and 
Apache
> CXF. If we want to use the 'WS Security 1.1" functionality we should use
> Apache CXF. Is this what you mean?
>
> I haven't found any documentation concerning that topic and a lot of
> questions to this:
> * How can I switch in Geronimo between CXF and Axis2?
> * How can I configure CXF?
> * Is there any documentation on that topic?
>
> Thanx in advance
>
> Josef
>
>
>
>
> "Lin Sun" <linsun.unc@gmail.com>
>
> 26.06.2008 16:12
>
> Bitte antworten an
> user@geronimo.apache.org
> An
> user@geronimo.apache.org
> Kopie
> Thema
> Re: Using WS-Security with Geronimo 2.1.1
>
>
>
>
> Hi, I don't think we support WS-Security 1.1 in Geronimo with Axis2
> implmentation.   This Rampart module seems to be a seperate module that 
is
> not included in Axis2's default installation and are not included in
> Geronimo either AFAIK.
>
> We do have our own version of axis2.xml file, think it is called
> geronimo-axis2.xml file, that is bundled in one of the geronimo-axis2 
jars.
>
> This function may be avail with the CXF implmentation.
>
> Lin
>
> On 6/26/08, Josef.Eisele@bgs-ag.de<Josef.Eisele@bgs-ag.de> wrote:
>
> Hi all,
>
> we would like to use WS - Security 1.1 in Geronimo. Geronimo uses the
> Webservice Framework AXIS-2, therefore the WS-Security Rampart has to be
> used ?
> I found infos howto config Rampart:
> http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html
>
> Is this the right way, or should we use another WS open source stack 
like
> Apache CXF, JBossWS or Sun's Metro?
> Is there any documentation howto config/integrate the 
Security-Functionality
> into Geronimo?
> (With JavaEE5 everything is so easy, @WebService is enough and the
> Webservice is running. I have no clue even how to get started with the
> configuration of Axis2:
>
> from http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html 
:
> ....
> First it should be engaged by inserting the following in the axis2.xml 
file.
>
>     <module ref="rampart"/>
>
> ...
> => I couldn't find the axis2.xml File :-(
> )
>
> Any help would be wonderful.
>
> Josef
>
> ________________________________
> BGS Beratungsgesellschaft
> Software Systemplanung AG
>
>  Niederlassung Rhein/Main
> Robert-Koch-Straße 41
> 55129 Mainz
> Fon: +49 (0) 6131 / 914-0
> Fax: +49 (0) 6131 / 914-400
> www.bgs-ag.deGeschäftssitz Mainz
> Registergericht
> Amtsgericht Mainz
> HRB 62 50
> Aufsichtsratsvorsitzender
> Dr. Wolfgang Trommer
> Vorstand
> Hanspeter Gau
> Hermann Kiefer
> Nils Manegold
> Heinz-Jörg Zimmermann
>
> ________________________________
> BGS Beratungsgesellschaft
> Software Systemplanung AG
>   Niederlassung Rhein/Main
> Robert-Koch-Straße 41
> 55129 Mainz
> Fon: +49 (0) 6131 / 914-0
> Fax: +49 (0) 6131 / 914-400
> www.bgs-ag.de Geschäftssitz Mainz
> Registergericht
> Amtsgericht Mainz
> HRB 62 50
>   Aufsichtsratsvorsitzender
> Dr. Wolfgang Trommer
> Vorstand
> Hanspeter Gau
> Hermann Kiefer
> Nils Manegold
> Heinz-Jörg Zimmermann
>
>


BGS Beratungsgesellschaft
Software Systemplanung AG
 
 
 

 
Niederlassung Rhein/Main
Robert-Koch-Straße 41
55129 Mainz
Fon: +49 (0) 6131 / 914-0
Fax: +49 (0) 6131 / 914-400
www.bgs-ag.de
Geschäftssitz Mainz
Registergericht
Amtsgericht Mainz
HRB 62 50
 
Aufsichtsratsvorsitzender
Dr. Wolfgang Trommer
Vorstand
Hanspeter Gau
Hermann Kiefer
Nils Manegold
Heinz-Jörg Zimmermann


 



-- 
With best regards,
Alexey Kakunin 



-- 
Sainath Chowdary
B.Tech III yr, Spring Semester
Electronics & Communication Engg
Indian Institute of Technology Roorkee 

BGS Beratungsgesellschaft 
Software Systemplanung AG         Niederlassung Rhein/Main 
Robert-Koch-Straße 41 
55129 Mainz 
Fon: +49 (0) 6131 / 914-0 
Fax: +49 (0) 6131 / 914-400 
www.bgs-ag.de Geschäftssitz Mainz 
Registergericht 
Amtsgericht Mainz 
HRB 62 50 
  Aufsichtsratsvorsitzender 
Dr. Wolfgang Trommer 
Vorstand 
Hanspeter Gau 
Hermann Kiefer 
Nils Manegold 
Heinz-Jörg Zimmermann 


  
Mime
View raw message