From 19b1824573c5eceddd6164c7d59e8e6c16200b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Fri, 13 May 2016 00:04:02 +0200 Subject: [PATCH 1/9] Changed the project description. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ed744ea..bbe7df4 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ war Spring Web Services WS-Security Example - An example showing how to configure Spring-WS Security for a SOAP web service + An example showing how to set up secured SOAP web services in Spring https://github.com/bernardo-mg/spring-ws-security-soap-example 2015 From 52f28a0d1aaceec998939a62dbb74c082ea6cc2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Sun, 15 May 2016 23:33:11 +0200 Subject: [PATCH 2/9] Updated dependencies. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bbe7df4..3063a69 100644 --- a/pom.xml +++ b/pom.xml @@ -248,7 +248,7 @@ 1.10 2.12 0.13.1 - 9.1.5.v20140505 + 9.3.8.v20160314 1.7 2.6 From 05b9c5dcfd6545a06344af41996585cc1f5e110d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Sun, 15 May 2016 23:59:50 +0200 Subject: [PATCH 3/9] Reverted version. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3063a69..bbe7df4 100644 --- a/pom.xml +++ b/pom.xml @@ -248,7 +248,7 @@ 1.10 2.12 0.13.1 - 9.3.8.v20160314 + 9.1.5.v20140505 1.7 2.6 From 437396fc7e5bfe6bba36dfbf05a611a790224907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Tue, 17 May 2016 00:01:08 +0200 Subject: [PATCH 4/9] Formatted context files and removed unused namespaces. --- .../context/client/client-unsecure.xml | 48 ++++--- src/main/resources/context/client/client.xml | 66 +++++----- .../wss4j/client-encryption-wss4j.xml | 37 +++--- .../xwss/client-encryption-xwss.xml | 35 +++--- .../wss4j/client-password-digest-wss4j.xml | 29 ++--- .../xwss/client-password-digest-xwss.xml | 29 ++--- .../wss4j/client-password-plain-wss4j.xml | 29 ++--- .../plain/xwss/client-password-plain-xwss.xml | 29 ++--- .../wss4j/client-signature-wss4j.xml | 35 +++--- .../signature/xwss/client-signature-xwss.xml | 38 +++--- .../wss4j/endpoint-encryption-wss4j.xml | 41 +++--- .../xwss/endpoint-encryption-xwss.xml | 41 +++--- .../context/endpoint/endpoint-unsecure.xml | 32 +++-- .../resources/context/endpoint/endpoint.xml | 44 ++++--- .../wss4j/endpoint-password-digest-wss4j.xml | 37 +++--- .../xwss/endpoint-password-digest-xwss.xml | 37 +++--- .../wss4j/endpoint-password-plain-wss4j.xml | 37 +++--- .../xwss/endpoint-password-plain-xwss.xml | 37 +++--- .../wss4j/endpoint-signature-wss4j.xml | 42 +++---- .../xwss/endpoint-signature-xwss.xml | 41 +++--- src/main/resources/context/endpoint/wsdl.xml | 30 ++--- .../wss4j/interceptor-encryption-wss4j.xml | 57 ++++----- .../xwss/interceptor-encryption-xwss.xml | 59 ++++----- .../interceptor-password-digest-wss4j.xml | 55 ++++---- .../xwss/interceptor-password-digest-xwss.xml | 51 ++++---- .../interceptor-password-plain-wss4j.xml | 55 ++++---- .../xwss/interceptor-password-plain-xwss.xml | 89 +++++++------ .../wss4j/interceptor-signature-wss4j.xml | 55 ++++---- .../xwss/interceptor-signature-xwss.xml | 119 +++++++++--------- .../context/keystore/keystore-wss4j.xml | 33 ++--- .../resources/context/keystore/keystore.xml | 43 +++---- src/main/resources/context/persistence.xml | 117 ++++++++--------- src/main/resources/context/service.xml | 24 ++-- .../wss4j/servlet-encryption-wss4j.xml | 27 ++-- .../xwss/servlet-encryption-xwss.xml | 27 ++-- .../wss4j/servlet-password-digest-wss4j.xml | 27 ++-- .../xwss/servlet-password-digest-xwss.xml | 27 ++-- .../wss4j/servlet-password-plain-wss4j.xml | 27 ++-- .../xwss/servlet-password-plain-xwss.xml | 27 ++-- .../context/servlet/servlet-unsecure.xml | 26 ++-- .../wss4j/servlet-signature-wss4j.xml | 27 ++-- .../signature/xwss/servlet-signature-xwss.xml | 27 ++-- src/main/resources/context/webService.xml | 29 ++--- 43 files changed, 880 insertions(+), 942 deletions(-) diff --git a/src/main/resources/context/client/client-unsecure.xml b/src/main/resources/context/client/client-unsecure.xml index a9c6dd7..7bd48da 100644 --- a/src/main/resources/context/client/client-unsecure.xml +++ b/src/main/resources/context/client/client-unsecure.xml @@ -1,32 +1,30 @@ - + - - Context for the unsecured client. This is the most basic - client possible. - + + Context for the unsecured client. This is the most basic + client possible. + - - + + - - + + - - - - - - - - - - + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/client/client.xml b/src/main/resources/context/client/client.xml index 53061c5..14cdf91 100644 --- a/src/main/resources/context/client/client.xml +++ b/src/main/resources/context/client/client.xml @@ -1,42 +1,40 @@ - + - - Base context for the web service clients. + + Base context for the web service clients. - This is to be extended for each client, which should define the security - interceptor to use. - + This is to be extended for each client, which should define the security + interceptor to use. + - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/client/encryption/wss4j/client-encryption-wss4j.xml b/src/main/resources/context/client/encryption/wss4j/client-encryption-wss4j.xml index e387783..001114b 100644 --- a/src/main/resources/context/client/encryption/wss4j/client-encryption-wss4j.xml +++ b/src/main/resources/context/client/encryption/wss4j/client-encryption-wss4j.xml @@ -1,29 +1,30 @@ - - - Context for the WSS4J encrypted client. + + Context for the WSS4J encrypted client. - A normal key store and a WSS4J one are required for this to work, such as the - ones provided by the key stores context files. - + A normal key store and a WSS4J one are required for this to work, such + as the ones provided by the key stores context files. + - - + + - - - - - + + + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/client/encryption/xwss/client-encryption-xwss.xml b/src/main/resources/context/client/encryption/xwss/client-encryption-xwss.xml index 65498a8..7ca7033 100644 --- a/src/main/resources/context/client/encryption/xwss/client-encryption-xwss.xml +++ b/src/main/resources/context/client/encryption/xwss/client-encryption-xwss.xml @@ -1,28 +1,29 @@ - - - Context for the XWSS encrypted client. + + Context for the XWSS encrypted client. - A key store is required for this to work, such as the ones provided by the key - stores context file. - + A key store is required for this to work, such as the ones provided by + the key stores context file. + - - + + - - - - + + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/client/password/digest/wss4j/client-password-digest-wss4j.xml b/src/main/resources/context/client/password/digest/wss4j/client-password-digest-wss4j.xml index aba2178..353dc1b 100644 --- a/src/main/resources/context/client/password/digest/wss4j/client-password-digest-wss4j.xml +++ b/src/main/resources/context/client/password/digest/wss4j/client-password-digest-wss4j.xml @@ -1,24 +1,25 @@ - - - Context for the WSS4J digested password secured client. - + + Context for the WSS4J digested password secured client. + - - + + - - - + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/client/password/digest/xwss/client-password-digest-xwss.xml b/src/main/resources/context/client/password/digest/xwss/client-password-digest-xwss.xml index 2016d5e..9fff67f 100644 --- a/src/main/resources/context/client/password/digest/xwss/client-password-digest-xwss.xml +++ b/src/main/resources/context/client/password/digest/xwss/client-password-digest-xwss.xml @@ -1,24 +1,25 @@ - - - Context for the XWSS digested password protected client. - + + Context for the XWSS digested password protected client. + - - + + - - - + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/client/password/plain/wss4j/client-password-plain-wss4j.xml b/src/main/resources/context/client/password/plain/wss4j/client-password-plain-wss4j.xml index 80cbb00..2eaeb2a 100644 --- a/src/main/resources/context/client/password/plain/wss4j/client-password-plain-wss4j.xml +++ b/src/main/resources/context/client/password/plain/wss4j/client-password-plain-wss4j.xml @@ -1,24 +1,25 @@ - - - Context for the WSS4J plain password secured client. - + + Context for the WSS4J plain password secured client. + - - + + - - - + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/client/password/plain/xwss/client-password-plain-xwss.xml b/src/main/resources/context/client/password/plain/xwss/client-password-plain-xwss.xml index f208688..7b57860 100644 --- a/src/main/resources/context/client/password/plain/xwss/client-password-plain-xwss.xml +++ b/src/main/resources/context/client/password/plain/xwss/client-password-plain-xwss.xml @@ -1,24 +1,25 @@ - - - Context for the XWSS plain password secured WS client. - + + Context for the XWSS plain password secured WS client. + - - + + - - - + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/client/signature/wss4j/client-signature-wss4j.xml b/src/main/resources/context/client/signature/wss4j/client-signature-wss4j.xml index 5d1c6bd..03f4dbe 100644 --- a/src/main/resources/context/client/signature/wss4j/client-signature-wss4j.xml +++ b/src/main/resources/context/client/signature/wss4j/client-signature-wss4j.xml @@ -1,28 +1,29 @@ - - - Context for the WSS4J signature secured client. + + Context for the WSS4J signature secured client. - A normal key store and a WSS4J one are required for this to work, such as the - ones provided by the key stores context files. - + A normal key store and a WSS4J one are required for this to work, such + as the ones provided by the key stores context files. + - - + + - - - - + + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/client/signature/xwss/client-signature-xwss.xml b/src/main/resources/context/client/signature/xwss/client-signature-xwss.xml index 8839117..e5c884f 100644 --- a/src/main/resources/context/client/signature/xwss/client-signature-xwss.xml +++ b/src/main/resources/context/client/signature/xwss/client-signature-xwss.xml @@ -1,31 +1,29 @@ - - - Context for the XWSS signature secured client. + + Context for the XWSS signature secured client. - A key store is - required for this to work, such as the ones provided by the key - stores - context file. - + A key store is required for this to work, such as the ones provided by the key + stores context file. + - - + + - - - - + + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/encryption/wss4j/endpoint-encryption-wss4j.xml b/src/main/resources/context/endpoint/encryption/wss4j/endpoint-encryption-wss4j.xml index 6cac050..347187c 100644 --- a/src/main/resources/context/endpoint/encryption/wss4j/endpoint-encryption-wss4j.xml +++ b/src/main/resources/context/endpoint/encryption/wss4j/endpoint-encryption-wss4j.xml @@ -1,29 +1,26 @@ - + - - Context for the WSS4J encrypted endpoint. + + Context for the WSS4J encrypted endpoint. - A normal key store and a WSS4J one are required for this to work, such as the - ones provided by the key stores context files. - + A normal key store and a WSS4J one are required for this to work, such + as the ones provided by the key stores context files. + - - - + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/encryption/xwss/endpoint-encryption-xwss.xml b/src/main/resources/context/endpoint/encryption/xwss/endpoint-encryption-xwss.xml index e8482d2..d683bc2 100644 --- a/src/main/resources/context/endpoint/encryption/xwss/endpoint-encryption-xwss.xml +++ b/src/main/resources/context/endpoint/encryption/xwss/endpoint-encryption-xwss.xml @@ -1,29 +1,26 @@ - + - - Context for the XWSS encrypted endpoint. + + Context for the XWSS encrypted endpoint. - A key store is required for this to work, such as the ones provided by the key - stores context file. - + A key store is required for this to work, such as the ones provided by + the key stores context file. + - - - + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/endpoint-unsecure.xml b/src/main/resources/context/endpoint/endpoint-unsecure.xml index 5e63c0c..78eaf1d 100644 --- a/src/main/resources/context/endpoint/endpoint-unsecure.xml +++ b/src/main/resources/context/endpoint/endpoint-unsecure.xml @@ -1,24 +1,20 @@ - + - - Context for the unsecured endpoint. This is the most basic endpoint possible. - + + Context for the unsecured endpoint. This is the most basic endpoint possible. + - - + + - - - - - + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/endpoint.xml b/src/main/resources/context/endpoint/endpoint.xml index b7df596..aee255f 100644 --- a/src/main/resources/context/endpoint/endpoint.xml +++ b/src/main/resources/context/endpoint/endpoint.xml @@ -1,31 +1,29 @@ - + - - Base context for the web service endpoints. + + Base context for the web service endpoints. - This is to be extended for each WS, which will register all the required - interceptors, including the security interceptor to use. - + This is to be extended for each WS, which will register all the required + interceptors, including the security interceptor to use. + - - + + - - + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/password/digest/wss4j/endpoint-password-digest-wss4j.xml b/src/main/resources/context/endpoint/password/digest/wss4j/endpoint-password-digest-wss4j.xml index 05fbd0a..94544d5 100644 --- a/src/main/resources/context/endpoint/password/digest/wss4j/endpoint-password-digest-wss4j.xml +++ b/src/main/resources/context/endpoint/password/digest/wss4j/endpoint-password-digest-wss4j.xml @@ -1,26 +1,23 @@ - + - - Context for the WSS4J digested password secured endpoint. - + + Context for the WSS4J digested password secured endpoint. + - - - + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/password/digest/xwss/endpoint-password-digest-xwss.xml b/src/main/resources/context/endpoint/password/digest/xwss/endpoint-password-digest-xwss.xml index eda9a04..17929ce 100644 --- a/src/main/resources/context/endpoint/password/digest/xwss/endpoint-password-digest-xwss.xml +++ b/src/main/resources/context/endpoint/password/digest/xwss/endpoint-password-digest-xwss.xml @@ -1,26 +1,23 @@ - + - - Context for the XWSS digested password protected endpoint. - + + Context for the XWSS digested password protected endpoint. + - - - + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/password/plain/wss4j/endpoint-password-plain-wss4j.xml b/src/main/resources/context/endpoint/password/plain/wss4j/endpoint-password-plain-wss4j.xml index b0cdd0c..da9b5ef 100644 --- a/src/main/resources/context/endpoint/password/plain/wss4j/endpoint-password-plain-wss4j.xml +++ b/src/main/resources/context/endpoint/password/plain/wss4j/endpoint-password-plain-wss4j.xml @@ -1,26 +1,23 @@ - + - - Context for the WSS4J plain password secured endpoint. - + + Context for the WSS4J plain password secured endpoint. + - - - + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/password/plain/xwss/endpoint-password-plain-xwss.xml b/src/main/resources/context/endpoint/password/plain/xwss/endpoint-password-plain-xwss.xml index 38e660c..fd1b935 100644 --- a/src/main/resources/context/endpoint/password/plain/xwss/endpoint-password-plain-xwss.xml +++ b/src/main/resources/context/endpoint/password/plain/xwss/endpoint-password-plain-xwss.xml @@ -1,26 +1,23 @@ - + - - Context for the XWSS plain password secured endpoint. - + + Context for the XWSS plain password secured endpoint. + - - - + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/signature/wss4j/endpoint-signature-wss4j.xml b/src/main/resources/context/endpoint/signature/wss4j/endpoint-signature-wss4j.xml index 7b0f9ad..45b1c90 100644 --- a/src/main/resources/context/endpoint/signature/wss4j/endpoint-signature-wss4j.xml +++ b/src/main/resources/context/endpoint/signature/wss4j/endpoint-signature-wss4j.xml @@ -1,29 +1,27 @@ - + - - Context for the WSS4J signature secured endpoint. + + Context for the WSS4J signature secured endpoint. - A normal key store and a WSS4J one are required for this to work, such as the - ones provided by the key stores context files. - + A normal key store and a WSS4J one are required for this to work, such + as the + ones provided by the key stores context files. + - - - + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/signature/xwss/endpoint-signature-xwss.xml b/src/main/resources/context/endpoint/signature/xwss/endpoint-signature-xwss.xml index f8630fe..514ba37 100644 --- a/src/main/resources/context/endpoint/signature/xwss/endpoint-signature-xwss.xml +++ b/src/main/resources/context/endpoint/signature/xwss/endpoint-signature-xwss.xml @@ -1,29 +1,26 @@ - + - - Context for the XWSS signature secured endpoint. + + Context for the XWSS signature secured endpoint. - A key store is required for this to work, such as the ones provided by the key - stores context file. - + A key store is required for this to work, such as the ones provided by + the key stores context file. + - - - + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/endpoint/wsdl.xml b/src/main/resources/context/endpoint/wsdl.xml index e30d6da..be03819 100644 --- a/src/main/resources/context/endpoint/wsdl.xml +++ b/src/main/resources/context/endpoint/wsdl.xml @@ -1,23 +1,19 @@ - + - - WSDL configuration context. + + WSDL configuration context. - This will create the WSDL for an endpoint. - + This will create the WSDL for an endpoint. + - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/context/interceptor/encryption/wss4j/interceptor-encryption-wss4j.xml b/src/main/resources/context/interceptor/encryption/wss4j/interceptor-encryption-wss4j.xml index 98132f2..5f0c53d 100644 --- a/src/main/resources/context/interceptor/encryption/wss4j/interceptor-encryption-wss4j.xml +++ b/src/main/resources/context/interceptor/encryption/wss4j/interceptor-encryption-wss4j.xml @@ -1,38 +1,33 @@ - + - - Context for WSS4J encrypted SOAP interceptor to be used on both the endpoint and the - client. + + Context for WSS4J encrypted SOAP interceptor to be used on both the endpoint + and the client. - A normal key store and a WSS4J one are required for this to work, such as the - ones provided by the key stores context files. - + A normal key store and a WSS4J one are required for this to work, such + as the ones provided by the key stores context files. + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + + + \ No newline at end of file diff --git a/src/main/resources/context/interceptor/encryption/xwss/interceptor-encryption-xwss.xml b/src/main/resources/context/interceptor/encryption/xwss/interceptor-encryption-xwss.xml index a005b16..6b8b8a6 100644 --- a/src/main/resources/context/interceptor/encryption/xwss/interceptor-encryption-xwss.xml +++ b/src/main/resources/context/interceptor/encryption/xwss/interceptor-encryption-xwss.xml @@ -1,39 +1,34 @@ - + - - Context for XWSS encrypted SOAP interceptor to be used on both the endpoint and the - client. + + Context for XWSS encrypted SOAP interceptor to be used on both the endpoint + and the client. - A key store is required for this to work, such as the ones provided by the key - stores context file. - + A key store is required for this to work, such as the ones provided by + the key stores context file. + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/interceptor/password/digest/wss4j/interceptor-password-digest-wss4j.xml b/src/main/resources/context/interceptor/password/digest/wss4j/interceptor-password-digest-wss4j.xml index 710c621..12f19cd 100644 --- a/src/main/resources/context/interceptor/password/digest/wss4j/interceptor-password-digest-wss4j.xml +++ b/src/main/resources/context/interceptor/password/digest/wss4j/interceptor-password-digest-wss4j.xml @@ -1,38 +1,33 @@ - + - - Context for WSS4J password digest interceptor to be used on both the endpoint and the - client. + + Context for WSS4J password digest interceptor to be used on both the endpoint + and the client. - A user details service is used for validating the credentials. - + A user details service is used for validating the credentials. + - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/interceptor/password/digest/xwss/interceptor-password-digest-xwss.xml b/src/main/resources/context/interceptor/password/digest/xwss/interceptor-password-digest-xwss.xml index 0265f20..5e176f8 100644 --- a/src/main/resources/context/interceptor/password/digest/xwss/interceptor-password-digest-xwss.xml +++ b/src/main/resources/context/interceptor/password/digest/xwss/interceptor-password-digest-xwss.xml @@ -1,36 +1,31 @@ - + - - Context for XWSS password digest authentication interceptor to be used on both - the endpoint and the client. + + Context for XWSS password digest authentication interceptor to be used on + both the endpoint and the client. - A user details service is used for validating the credentials. - + A user details service is used for validating the credentials. + - - - - - - - - - + + + + + + + + + - - - - + + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/interceptor/password/plain/wss4j/interceptor-password-plain-wss4j.xml b/src/main/resources/context/interceptor/password/plain/wss4j/interceptor-password-plain-wss4j.xml index 9e4f3c0..087475c 100644 --- a/src/main/resources/context/interceptor/password/plain/wss4j/interceptor-password-plain-wss4j.xml +++ b/src/main/resources/context/interceptor/password/plain/wss4j/interceptor-password-plain-wss4j.xml @@ -1,38 +1,33 @@ - + - - Context for WSS4J plain password interceptor to be used on both the endpoint and the - client. + + Context for WSS4J plain password interceptor to be used on both the endpoint + and the client. - A user details service is used for validating the credentials. - + A user details service is used for validating the credentials. + - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/interceptor/password/plain/xwss/interceptor-password-plain-xwss.xml b/src/main/resources/context/interceptor/password/plain/xwss/interceptor-password-plain-xwss.xml index e2b84e3..f40fb62 100644 --- a/src/main/resources/context/interceptor/password/plain/xwss/interceptor-password-plain-xwss.xml +++ b/src/main/resources/context/interceptor/password/plain/xwss/interceptor-password-plain-xwss.xml @@ -1,50 +1,45 @@ - - - - Context for XWSS plain password interceptor to be used on both the endpoint and the - client. - - A user details service is used for validating the credentials. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Context for XWSS plain password interceptor to be used on both the endpoint + and the client. + + A user details service is used for validating the credentials. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/interceptor/signature/wss4j/interceptor-signature-wss4j.xml b/src/main/resources/context/interceptor/signature/wss4j/interceptor-signature-wss4j.xml index ebb3eba..b9a36ce 100644 --- a/src/main/resources/context/interceptor/signature/wss4j/interceptor-signature-wss4j.xml +++ b/src/main/resources/context/interceptor/signature/wss4j/interceptor-signature-wss4j.xml @@ -1,37 +1,32 @@ - + - - Context for WSS4J signature-based interceptor to be used on both the endpoint and the - client. + + Context for WSS4J signature-based interceptor to be used on both the endpoint + and the client. - A normal key store and a WSS4J one are required for this to work, such as the - ones provided by the key stores context files. - + A normal key store and a WSS4J one are required for this to work, such + as the ones provided by the key stores context files. + - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/context/interceptor/signature/xwss/interceptor-signature-xwss.xml b/src/main/resources/context/interceptor/signature/xwss/interceptor-signature-xwss.xml index 617a60e..1cb7863 100644 --- a/src/main/resources/context/interceptor/signature/xwss/interceptor-signature-xwss.xml +++ b/src/main/resources/context/interceptor/signature/xwss/interceptor-signature-xwss.xml @@ -1,65 +1,60 @@ - - - - Context for XWSS signature-based interceptor to be used on both the endpoint and the - client. - - A key store is required for this to work, such as the ones provided by the key - stores context file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Context for XWSS signature-based interceptor to be used on both the endpoint + and the client. + + A key store is required for this to work, such as the ones provided by + the key stores context file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/keystore/keystore-wss4j.xml b/src/main/resources/context/keystore/keystore-wss4j.xml index fb50edb..ef76fbd 100644 --- a/src/main/resources/context/keystore/keystore-wss4j.xml +++ b/src/main/resources/context/keystore/keystore-wss4j.xml @@ -1,23 +1,24 @@ - - - Context for the WSS4J key stores. - + + Context for the WSS4J key stores. + - - - - - + + + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/keystore/keystore.xml b/src/main/resources/context/keystore/keystore.xml index 1fb06ec..7b4d3a1 100644 --- a/src/main/resources/context/keystore/keystore.xml +++ b/src/main/resources/context/keystore/keystore.xml @@ -1,29 +1,30 @@ - - - Context for the key stores. - + + Context for the key stores. + - - - - - + + + + + - - - - - + + + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/main/resources/context/persistence.xml b/src/main/resources/context/persistence.xml index 35bb83e..b7257d7 100644 --- a/src/main/resources/context/persistence.xml +++ b/src/main/resources/context/persistence.xml @@ -1,8 +1,8 @@ - - - Persistence layer context. Contains all the classes which handle the - persistence and data access layers for the web services. + + Persistence layer context. Contains all the classes which handle the + persistence and data access layers for the web services. - Contains all the classes which handle the persistence and data access - layers for the web services and is meant to be shared between them. - + Contains all the classes which handle the persistence and data access + layers for the web services and is meant to be shared between them. + - - + + - + - - - - - - - - + + + + + + + + - - - - - + + + + + - - - - + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - + - - - - - - - + + + + + + + - - - - - + + + + + \ No newline at end of file diff --git a/src/main/resources/context/service.xml b/src/main/resources/context/service.xml index 4da485a..f2ee8f9 100644 --- a/src/main/resources/context/service.xml +++ b/src/main/resources/context/service.xml @@ -1,19 +1,17 @@ - + - - Service layer context. + + Service layer context. - Contains all the services required by the web services and is meant to be shared - between them. - + Contains all the services required by the web services and is meant to be + shared between them. + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/encryption/wss4j/servlet-encryption-wss4j.xml b/src/main/resources/context/servlet/encryption/wss4j/servlet-encryption-wss4j.xml index f23a0ed..7990399 100644 --- a/src/main/resources/context/servlet/encryption/wss4j/servlet-encryption-wss4j.xml +++ b/src/main/resources/context/servlet/encryption/wss4j/servlet-encryption-wss4j.xml @@ -1,23 +1,24 @@ - - - Context for the encryption protected servlet using WSS4J. - + + Context for the encryption protected servlet using WSS4J. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/encryption/xwss/servlet-encryption-xwss.xml b/src/main/resources/context/servlet/encryption/xwss/servlet-encryption-xwss.xml index b4c55a3..85447bb 100644 --- a/src/main/resources/context/servlet/encryption/xwss/servlet-encryption-xwss.xml +++ b/src/main/resources/context/servlet/encryption/xwss/servlet-encryption-xwss.xml @@ -1,23 +1,24 @@ - - - Context for the encryption protected servlet using XWSS. - + + Context for the encryption protected servlet using XWSS. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/password/digest/wss4j/servlet-password-digest-wss4j.xml b/src/main/resources/context/servlet/password/digest/wss4j/servlet-password-digest-wss4j.xml index 7531a70..1c1c59b 100644 --- a/src/main/resources/context/servlet/password/digest/wss4j/servlet-password-digest-wss4j.xml +++ b/src/main/resources/context/servlet/password/digest/wss4j/servlet-password-digest-wss4j.xml @@ -1,23 +1,24 @@ - - - Context for the password protected servlet using WSS4J. - + + Context for the password protected servlet using WSS4J. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/password/digest/xwss/servlet-password-digest-xwss.xml b/src/main/resources/context/servlet/password/digest/xwss/servlet-password-digest-xwss.xml index 62cb6ed..6ceda3f 100644 --- a/src/main/resources/context/servlet/password/digest/xwss/servlet-password-digest-xwss.xml +++ b/src/main/resources/context/servlet/password/digest/xwss/servlet-password-digest-xwss.xml @@ -1,23 +1,24 @@ - - - Context for the password protected servlet using XWSS. - + + Context for the password protected servlet using XWSS. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/password/plain/wss4j/servlet-password-plain-wss4j.xml b/src/main/resources/context/servlet/password/plain/wss4j/servlet-password-plain-wss4j.xml index 0228cc7..f4fd8a3 100644 --- a/src/main/resources/context/servlet/password/plain/wss4j/servlet-password-plain-wss4j.xml +++ b/src/main/resources/context/servlet/password/plain/wss4j/servlet-password-plain-wss4j.xml @@ -1,23 +1,24 @@ - - - Context for the password protected servlet using WSS4J. - + + Context for the password protected servlet using WSS4J. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/password/plain/xwss/servlet-password-plain-xwss.xml b/src/main/resources/context/servlet/password/plain/xwss/servlet-password-plain-xwss.xml index 0ff99e8..fd50ebc 100644 --- a/src/main/resources/context/servlet/password/plain/xwss/servlet-password-plain-xwss.xml +++ b/src/main/resources/context/servlet/password/plain/xwss/servlet-password-plain-xwss.xml @@ -1,23 +1,24 @@ - - - Context for the password protected servlet using XWSS. - + + Context for the password protected servlet using XWSS. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/servlet-unsecure.xml b/src/main/resources/context/servlet/servlet-unsecure.xml index 992ddb6..52aa355 100644 --- a/src/main/resources/context/servlet/servlet-unsecure.xml +++ b/src/main/resources/context/servlet/servlet-unsecure.xml @@ -1,23 +1,23 @@ - - - Context for the unsecure servlet. - + + Context for the unsecure servlet. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/signature/wss4j/servlet-signature-wss4j.xml b/src/main/resources/context/servlet/signature/wss4j/servlet-signature-wss4j.xml index 68f36ea..3231a6b 100644 --- a/src/main/resources/context/servlet/signature/wss4j/servlet-signature-wss4j.xml +++ b/src/main/resources/context/servlet/signature/wss4j/servlet-signature-wss4j.xml @@ -1,23 +1,24 @@ - - - Context for the signature protected servlet using WSS4J. - + + Context for the signature protected servlet using WSS4J. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/servlet/signature/xwss/servlet-signature-xwss.xml b/src/main/resources/context/servlet/signature/xwss/servlet-signature-xwss.xml index c8708e0..d3d3cbb 100644 --- a/src/main/resources/context/servlet/signature/xwss/servlet-signature-xwss.xml +++ b/src/main/resources/context/servlet/signature/xwss/servlet-signature-xwss.xml @@ -1,23 +1,24 @@ - - - Context for the signature protected servlet using XWSS. - + + Context for the signature protected servlet using XWSS. + - - + + - - + + - - + + \ No newline at end of file diff --git a/src/main/resources/context/webService.xml b/src/main/resources/context/webService.xml index b0a90c7..bf203e7 100644 --- a/src/main/resources/context/webService.xml +++ b/src/main/resources/context/webService.xml @@ -1,24 +1,25 @@ - - - Global application context for the web service. + + Global application context for the web service. - This is shared by all the servlets. - + This is shared by all the servlets. + - - + + - - - - - + + + + + \ No newline at end of file From 4c74b8afc401d79b17c0980f082b731594ce325a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Tue, 24 May 2016 16:26:11 +0200 Subject: [PATCH 5/9] Updated base POM. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bbe7df4..0325d85 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.wandrell.maven base-pom - 1.0.0 + 1.0.1 From 00669a163b89aa67f317be0af82b2d579bf5c1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Tue, 31 May 2016 08:37:45 +0200 Subject: [PATCH 6/9] Updated Maven skin. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0325d85..82952a4 100644 --- a/pom.xml +++ b/pom.xml @@ -252,7 +252,7 @@ 1.7 2.6 - 0.2.4 + 0.3.0 /swss From 7df9ddf78ec4dc5367434b642a5adf003f82136d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Tue, 31 May 2016 21:27:36 +0200 Subject: [PATCH 7/9] Raised version. --- pom.xml | 2 +- src/changes/changes.xml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0325d85..7a197d0 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ com.wandrell.example swss-soap-example - 1.1.1-SNAPSHOT + 1.1.2-SNAPSHOT war Spring Web Services WS-Security Example diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 8f0759c..82f0cc9 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -70,5 +70,10 @@ The readme description has been rewritten. + + + Updated the Maven Skin. + + \ No newline at end of file From 89b4f09a3134e7e1a1c65fb383f63598b8937c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Tue, 31 May 2016 21:30:14 +0200 Subject: [PATCH 8/9] Updated dependencies. --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 512d301..9a9e506 100644 --- a/pom.xml +++ b/pom.xml @@ -217,7 +217,7 @@ 2.10.2 2.3.23 19.0 - 1.4.191 + 1.4.192 1.0.0.Final 5.1.0.Final 2.4.6 @@ -226,8 +226,8 @@ 1.0-2 2.2.12 2.2.11 - 2.9.3 - 2.5 + 2.9.4 + 2.6 1.10.19 1.3.5 1.3.25 @@ -248,7 +248,7 @@ 1.10 2.12 0.13.1 - 9.1.5.v20140505 + 9.1.6.v20160112 1.7 2.6 From a37a888bfde7993fd43c1ccf214d683580a8e12f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Tue, 31 May 2016 21:34:50 +0200 Subject: [PATCH 9/9] Release. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9a9e506..97a0ee2 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ com.wandrell.example swss-soap-example - 1.1.2-SNAPSHOT + 1.1.2 war Spring Web Services WS-Security Example