/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

Welcome to ServiceMix WSDL design first example
===============================================

This example shows how to expose a secure service using WS-Security; beginning from the
WSDL and exposing it over HTTP. Using WS-Security, it shows how to configure a CXF binding component for XML-Encryption, XML-Signature and UsernameToken based authentication.

When using a secured broker configuration (which is the default), any authenticated user will also be authorized before allowed to invoke on the service.


The usecase is:
External Java client -> CXF-BC consumer -> CXF-SE component.

The Java client issues a SOAP request that is secured using XML-Encryption, XML-Signature and carries username/password information in the SOAP header to the CXF-BC consumer. 
The CXF-BC consumer component authenticates and authorizes the client and if successful invokes the WSDL operation on the CXF-SE component.
The reply data from the CXF-SE component is wrapped into a SOAP message, which is then again encrypted and signed before being sent back to the client. 

The demos directory structure is straight forward:
ws-security-cxfbc-su:         CXF BC consumer, configured for WS-Security
ws-security-cxfse-su:         CXF-SE service implementation
ws-security-sa:               SA that bundles the deployment package
ws-security-client-test:      external client for testing, configured for WS-Security


The most interesting configuration for WS-Security resides in 
ws-security-cxfbc-su/src/main/resources/xbean.xml and 
ws-security-client-test/src/main/resources/client.xml

Have a look at these files, they show how to configure the WSS4J handlers that provide the WS-Security functions.


COMPILING THE DEMO:
--------------------
Compilation can simply be performed running "mvn install". It will compile all subcomponents and generate the service assembly.


DEPLOYING THE DEMO:
-------------------
!!! Before deploying the demo an update to the FUSE ESB configuration is required! The current security configuration only defines a user called smx but the demo uses the usernames alice and bob.
The required configuration changes are simple. You simply need to update 
* conf/users-passwords.properties and add alice and bob as shown below:
  smx=smx
  alice=password
  bob=password

* conf/groups.properties and add alice and bob as shown below:
  admin=smx,alice,bob

* Optional: You may want to increase logging in order to see the authentication and
  authorization to be performed inside FUSE ESB. Change conf/log4j.xml and add
    <logger name="org.apache.servicemix.jbi.security">
        <level value="DEBUG"/>
    </logger>
    <logger name="org.apache.servicemix.soap.handlers">
        <level value="DEBUG"/>
    </logger>
  
* Optional: To restrict authorization to only users of role admin, change
  conf/security.xml to
  <sm:authorizationMap id="authorizationMap">
    <sm:authorizationEntries>
      <sm:authorizationEntry service="*:*" roles="admin" />
    </sm:authorizationEntries>
  </sm:authorizationMap>
  If needed you can also change the service attribute to 
  service="*:SOAPServiceWSSecurity"


In order to deploy the demo into FUSE ESB a running FUSE ESB instance is required. Either use "mvn jbi:projectDeploy" or copy ws-security-sa/target/ws-security-sa-3.3.1.0-fuse.jar into the FUSE ESB hotdeploy/ directory. 


RUNNING THE DEMO:
-----------------
After deploying the service archive, the external client can be run using "mvn test" from the ws-security-client-test directory. 

The client output should read as in [1]. The FUSE ESB should also log the incoming and outgoing SOAP message. As the client is a JUnit test, verify that the test succeeded.

You can also browse the WSDL at
 http://localhost:9000/SOAPServiceWSSecurity/TimestampSignEncrypt?wsdl 



[1] Client output when running the demo
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.servicemix.samples.cxf_ws_security.ClientSecurityTest
log4j:WARN No appenders could be found for logger (org.apache.cxf.bus.spring.BusApplicationContext).
log4j:WARN Please initialize the log4j system properly.
23-May-2008 14:58:47 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL
INFO: Creating Service {http://apache.org/hello_world_soap_http}SOAPServiceWSSecurity from WSDL: jar:file:/C:/Temp/.m2/repository/
org/apache/servicemix/samples/cxf-ws-security/ws-security-cxfse-su/3.3.1.0-fuse/ws-security-cxfse-su-3.3.1.0-fuse.jar!/hello_world
.wsdl
23-May-2008 14:58:52 org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
INFO: Outbound Message
---------------------------
Encoding: UTF-8
Headers: {SOAPAction=[""], Accept=[*]}
Messages:
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand=
"1"><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Use
rnameToken-2153655" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Username
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">alice</wsse:Username><wsse:Password
 Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" xmlns:wsse="http://docs.oa
sis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">password</wsse:Password></wsse:UsernameToken><xenc:EncryptedK
ey Id="EncKeyId-28483456" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><ds:X5
09Data xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509IssuerSerial xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509IssuerName xmlns:ds="http://www.w3.org/2000/09/xmldsig#">CN=alice,OU=NOT FOR PRODUCTION USE,O=apache.org</ds:X509IssuerNam
e>

<ds:X509SerialNumber xmlns:ds="http://www.w3.org/2000/09/xmldsig#">1185847274</ds:X509SerialNumber>
</ds:X509IssuerSerial>
</ds:X509Data></wsse:SecurityTokenReference>
</ds:KeyInfo>
<xenc:CipherData><xenc:CipherValue>NxBYPGlvab2Afr9+a2V0a8qm7OwbutGqgWSkYf4+BKECisyA8e6unvmGs6ypuvU9pG5NjTON1BC+4t31/57crqBR8c+rOFO
Meiq0bJJk7wjR4vWRTq3TcIj7rvd28KWN3Ea6iXCUP58OBlXnkt4fy0/EQP3jEnO0DynszKR9rxc=</xenc:CipherValue></xenc:CipherData>
<xenc:ReferenceList><xenc:DataReference URI="#EncDataId-2720472"/><xenc:DataReference URI="#EncDataId-7640118"/></xenc:ReferenceLi
st></xenc:EncryptedKey><wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-uti
lity-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueT
ype="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-93751" xmlns:wsse="http
://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">MIIB/jCCAWcCBEaul+owDQYJKoZIhvcNAQEEBQAwRjETMBEGA1U
EChMKYXBhY2hlLm9yZzEfMB0GA1UECxMWTk9UIEZPUiBQUk9EVUNUSU9OIFVTRTEOMAwGA1UEAxMFYWxpY2UwHhcNMDcwNzMxMDIwMTE0WhcNMzQxMjE2MDIwMTE0WjBGM
RMwEQYDVQQKEwphcGFjaGUub3JnMR8wHQYDVQQLExZOT1QgRk9SIFBST0RVQ1RJT04gVVNFMQ4wDAYDVQQDEwVhbGljZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYE
As+0WE5RPyWU8bMLeytlFN0LSs32S6rmZbu9Qw2ohFoR0X6aQKk1LVbMPiRwsAFEDwIuf+z6sRTe9HGx0txXrBOaYswCddIZf4VXnMRmXrCWBggb1HB0pwjYHLeW3+QIQg
FEU5tJPy8jQCI+x4UcgGImqvRyZQDVDP6iY/fJhZpkCAwEAATANBgkqhkiG9w0BAQQFAAOBgQBnOwsgA8i0QY8g5pSUk+i2IuBMNe1AQW4JwCPSJfl3dssHh/EjFb8JGVW
6yo0sEQq4Ala/CHjUvHQGJnNJr8VPHzqRywug3VpmJp/9txSNLJsjIiOWbr2H3Mxl85CjH1sJnFAjohXZ0Mq5VRKR0sEbhALPyvTA2lAerEsVHe3jsg==</wsse:Binary
SecurityToken><xenc:EncryptedData Id="EncDataId-2720472" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:xenc="http://www.w3
.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" xmlns:xenc="http://www.w3.
org/2001/04/xmlenc#"/><xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:CipherValue xmlns:xenc="http://www.w3.
org/2001/04/xmlenc#">696xfuiHZWpoONL1SUGwFlOTNaUNDeFyuPK38ZJYrIlbTdjU1tpMlFDRebEeTZvlI2i9CBufmlm4
HPl+poDgZ/HwVWUZraSpYHGHjXkmPPA0FPPr14rqxhT21CQBz5yibNpq7zskLX4txBvHE3t8uSZZ
0xOpWMXzID5xcCabjkYZh59MgVVAopJ4r3btdYvq4T9xartUpm8S/YBHDl9IwEBcWUyAvQj4sbbk
3QCa9wEimG2CsUhYmTdeb+lWtfrSNDb5gvClbB6f/fM33tuvcau7Pxj9hVlioCA3nQudQG1zc0mf
2ZdBzFa4kZ81o7F92tUFKlEpPy3G8C5gzCwigBW+nnIzSUy2teaUcRdvpPaXKSv+lawKknAxtHPj
DSpQwWaeyZTO7TtL+iy4oA7ceuj4qeuyfwYpu2CP7FLERI+8CiPWq5P/Gu/gCL61Oyda6iYaEskS
FtbRJmBdJToiVbYr20BhkAqOVcFr7kKgV9khi9istw3p+4IJQnDmGndA8Gg44Y+tt7T9VM+D9YRD
RZ0CVQ2fOeTDFAv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8j
FYIYuKFH7roP3hY2yMjQL67UTgT01RbK1kPFdW0rYss+CLuBxMS416H8v0ag+zvqjtaHHuNjdxlD
MSp58TCksr0Bcwbt5rkBJVyREewY9lZ7lAnpO6AMiUy4BWXYMkGwyLsNyOU8SArHcUuR/Kr3A/Ho
+0FQJ/Q4BjbL7nQUi44Akc5Bx1wu2YXmwFxDGHKKQ0aOApYXEs5UB11wCsYPjAbZEdC7SXFJkzOn
7o7HacleqonV+YdD8O4LftS2pCtBilNb0oZ/vXx1GZEFDED4KjEQNMkl6G1v9zjCt6nOEUU7QvW6
U1LFgfZZ4VH5PQF4qGeAQXlBv2eQGOlX2DNu5x1afMmH6fXyAknTql1ybN7vFtAThse7aDjjk8tY
DT6PUtFTFBBGX/3rrrnJ25Jk6p8MRu5sT0QyFMqV4+pmp8z98GzhODtwg5EnM7yMkMNFSZdqVwTq
s0cbdxQH5ugEOY9flyxPr98s0C0z75TLYElE0NSndnfegu4txZvmZjHiitvGae33M9WFTvurv6Et
anSLzx5zhVCQRQhwJ7DK+ZQiLySXTJTLEW3HqLMc4BGENiKXPr0Zp0uYCOgwRYbYlL6EBJ8uAru4
3UDSISB1qDNSbkq341zyZn3zUH0ZlTFPmpT+Z82tt8YQXJXTyrUbv0F3UhyU3wFWcz5q400vkjBu
O5xu+y9lILBNUXoNCxcgpweyPEb43V0FkwcYkdFHWKkwNtbvbyaWU+wcZPcn7yO8Rsh44wGSLOno
br3XanmzX7ws</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/200
4/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-22322411"><wsu:Created xmlns:wsu="http://docs.oasis-open.org/w
ss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2008-05-23T12:58:49.480Z</wsu:Created><wsu:Expires xmlns:wsu="http://docs.
oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2008-05-23T13:03:49.480Z</wsu:Expires></wsu:Timestamp></ws
se:Security></soap:Header><soap:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
" wsu:Id="id-7640118"><xenc:EncryptedData Id="EncDataId-7640118" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns:xenc="http:
//www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" xmlns:xenc="http:/
/www.w3.org/2001/04/xmlenc#"/><xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:CipherValue xmlns:xenc="http:/
/www.w3.org/2001/04/xmlenc#">5EmGwpYmLdB68ApdgPCb0z0AMPyzP/Xks5/K2/7jf7MZJdOLO6vpmcgD12x6moP9/pJ4A6K3haDN
c7s5iYpBGwUlIooDCla/X5TEoB6Z57IV0VeKd0bnNOrMAhf6T3DBKM689wpv/SfEHeutUyv22G3U
cjO9TzEJ</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soap:Body></soap:Envelope>
--------------------------------------
23-May-2008 14:59:00 org.apache.cxf.interceptor.LoggingInInterceptor logging
INFO: Inbound Message
----------------------------
Encoding: UTF-8
Headers: {Content-Length=[6805], SOAPAction=[""], Server=[Jetty(6.1.6)], content-type=[text/xml; charset=utf-8]}
Messages:
Message:

Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand=
"1"><xenc:EncryptedKey Id="EncKeyId-13458461" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><ds:X5
09Data xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509IssuerSerial xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509IssuerName xmlns:ds="http://www.w3.org/2000/09/xmldsig#">CN=alice,OU=NOT FOR PRODUCTION USE,O=apache.org</ds:X509IssuerNam
e>

<ds:X509SerialNumber xmlns:ds="http://www.w3.org/2000/09/xmldsig#">1185847274</ds:X509SerialNumber>
</ds:X509IssuerSerial>
</ds:X509Data></wsse:SecurityTokenReference>
</ds:KeyInfo>
<xenc:CipherData><xenc:CipherValue>dOdcS9+ofS6KHSE0PP+YbBvtxZt5cPj4MQYHoek57kuMEt1H+LcjbH+4xbXIstqVXcrjOX5lQwowvaDThN0az91XqU0Ur3u
CT19ycWUmXmM5YSC2GgO11EANxq7PdAM5AK9Imm5WOEMDCYyPei53cTYDwVXi5evLVHPFn5D4QTM=</xenc:CipherValue></xenc:CipherData>
<xenc:ReferenceList><xenc:DataReference URI="#EncDataId-27402589"/><xenc:DataReference URI="#EncDataId-27087036"/></xenc:Reference
List></xenc:EncryptedKey><wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-u
tility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" Valu
eType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-93751" xmlns:wsse="ht
tp://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">MIIB/jCCAWcCBEaul+owDQYJKoZIhvcNAQEEBQAwRjETMBEGA
1UEChMKYXBhY2hlLm9yZzEfMB0GA1UECxMWTk9UIEZPUiBQUk9EVUNUSU9OIFVTRTEOMAwGA1UEAxMFYWxpY2UwHhcNMDcwNzMxMDIwMTE0WhcNMzQxMjE2MDIwMTE0WjB
GMRMwEQYDVQQKEwphcGFjaGUub3JnMR8wHQYDVQQLExZOT1QgRk9SIFBST0RVQ1RJT04gVVNFMQ4wDAYDVQQDEwVhbGljZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCg
YEAs+0WE5RPyWU8bMLeytlFN0LSs32S6rmZbu9Qw2ohFoR0X6aQKk1LVbMPiRwsAFEDwIuf+z6sRTe9HGx0txXrBOaYswCddIZf4VXnMRmXrCWBggb1HB0pwjYHLeW3+QI
QgFEU5tJPy8jQCI+x4UcgGImqvRyZQDVDP6iY/fJhZpkCAwEAATANBgkqhkiG9w0BAQQFAAOBgQBnOwsgA8i0QY8g5pSUk+i2IuBMNe1AQW4JwCPSJfl3dssHh/EjFb8JG
VW6yo0sEQq4Ala/CHjUvHQGJnNJr8VPHzqRywug3VpmJp/9txSNLJsjIiOWbr2H3Mxl85CjH1sJnFAjohXZ0Mq5VRKR0sEbhALPyvTA2lAerEsVHe3jsg==</wsse:Bina
rySecurityToken><xenc:EncryptedData Id="EncDataId-27402589" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:xenc="http://www
.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" xmlns:xenc="http://www.
w3.org/2001/04/xmlenc#"/><xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:CipherValue xmlns:xenc="http://www.
w3.org/2001/04/xmlenc#">G4OFIhsd6AdR9uGP8Vwq0NJI5n9RaXsA4gFQyptlUk1LGq+9dW8MbhQQSLSxMhG8qCd4KtyNIl6z
9oVIP1Fafb7Mn6EVb/KMr1kkdHas9gnFy+AyOAvu/lQCfaEdTyrh/6njsfkR8QLfGB4oMoxKMIHc
4rNAc6+gnCG5LGHRWHljvb9un1ymcMo9T7pZv+7Z83a1FUinumL4ZaaD42KxZbLXry5QjpQUoyW3
Lvsrv7YTz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gbjj1Qm4M5
YKy9yzG4MrMh</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/200
4/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-26978006"><wsu:Created xmlns:wsu="http://docs.oasis-open.org/w
ss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2008-05-23T12:58:59.995Z</wsu:Created><wsu:Expires xmlns:wsu="http://docs.
oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2008-05-23T13:03:59.995Z</wsu:Expires></wsu:Timestamp></ws
se:Security></soap:Header><soap:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
" wsu:Id="id-27087036"><xenc:EncryptedData Id="EncDataId-27087036" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns:xenc="htt
p://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" xmlns:xenc="http
://www.w3.org/2001/04/xmlenc#"/><xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:CipherValue xmlns:xenc="http
://www.w3.org/2001/04/xmlenc#">hGGA3z62DX0IPIucNimEahJu/9V4VPy9c0EN6q2LwNAFn9Fgjvpjr7BndcYwVlZ3yk+iritj/0rW
odfT/Ez7tRCL+bey2snDCfQV1CeUBDVV9IPYNbaQPWHtRCG92G0NLXd8V6NVHeeCZ5LlKGU0n+bQ
1EzHz7aXxsHYUW6WXznuf+QkGZLfQTVKlxBIBjyW</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soap:Body></soap:Envelope>
--------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.016 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40 seconds
[INFO] Finished at: Fri May 23 14:59:01 CEST 2008
[INFO] Final Memory: 17M/30M
[INFO] ------------------------------------------------------------------------
  
