Skip to content

Commit c26e778

Browse files
committed
Merge pull request #1429 from ammachado
* pr/1479: Polish "Upgrade to WSS4J 4.0.0" Upgrade to WSS4J 4.0.0 Closes gh-1429
2 parents 2ab80ac + 08995d9 commit c26e778

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

gradle/plugins/conventions-plugin/src/main/java/org/springframework/ws/gradle/conventions/JavaBasePluginConventions.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ void apply(Project project) {
4343

4444
private void configureRepositories(Project project) {
4545
project.getRepositories().mavenCentral();
46+
project.getRepositories().maven((repository) -> {
47+
repository.setName("Shibboleth Releases");
48+
repository.setUrl("https://build.shibboleth.net/nexus/content/repositories/releases");
49+
repository.content((content) -> {
50+
content.includeGroup("org.opensaml");
51+
content.includeGroup("net.shibboleth");
52+
});
53+
});
4654
String version = project.getVersion().toString();
4755
if (version.contains("-")) {
4856
project.getRepositories().maven((repository) -> {

spring-ws-platform/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ dependencies {
3434
api("org.apache.commons:commons-collections4:4.4")
3535
api("org.apache.httpcomponents.client5:httpclient5:5.2.3")
3636
api("org.apache.httpcomponents:httpclient:4.5.14")
37-
api("org.apache.santuario:xmlsec:3.0.4")
38-
api("org.apache.wss4j:wss4j-ws-security-dom:2.4.3")
37+
api("org.apache.santuario:xmlsec:4.0.3")
38+
api("org.apache.wss4j:wss4j-ws-security-dom:4.0.0")
3939
api("org.apache.ws.xmlschema:xmlschema-core:2.3.1")
4040
api("org.aspectj:aspectjrt:1.9.22")
4141
api("org.aspectj:aspectjweaver:1.9.22")

spring-ws-security/src/main/java/org/springframework/ws/soap/security/wss4j2/Wss4jSecurityInterceptor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@
142142
* @author Jamin Hitchcock
143143
* @author Rob Leland
144144
* @author Lars Uffmann
145+
* @author Andreas Winter
145146
* @since 2.3.0
146-
* @see <a href="http://ws.apache.org/wss4j/">Apache WSS4J 2.0</a>
147+
* @see <a href="http://ws.apache.org/wss4j/">Apache WSS4J 2.0+</a>
147148
*/
148149
public class Wss4jSecurityInterceptor extends AbstractWsSecurityInterceptor implements InitializingBean {
149150

spring-ws-security/src/main/java/org/springframework/ws/soap/security/wss4j2/callback/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
*/
1616

1717
/**
18-
* Contains {@code CallbackHandler} implementations for WSS4J 2.0.
18+
* Contains {@code CallbackHandler} implementations for WSS4J 2.0+.
1919
*/
2020
package org.springframework.ws.soap.security.wss4j2.callback;

spring-ws-security/src/main/java/org/springframework/ws/soap/security/wss4j2/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
/**
1818
* Contains classes for using the <a href="http://ws.apache.org/wss4j/">Apache WSS4J
19-
* 2.0</a> WS-Security implementation within Spring-WS.
19+
* 2.0+</a> WS-Security implementation within Spring-WS.
2020
*/
2121
package org.springframework.ws.soap.security.wss4j2;

spring-ws-security/src/main/java/org/springframework/ws/soap/security/wss4j2/support/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
*/
1616

1717
/**
18-
* Contains support classes for working with WSS4J 2.0.
18+
* Contains support classes for working with WSS4J 2.0+.
1919
*/
2020
package org.springframework.ws.soap.security.wss4j2.support;

0 commit comments

Comments
 (0)