Skip to content

Commit 167f3d2

Browse files
committed
Document the use of an extra repository with WSS4J
Closes gh-1771
1 parent 90b1b24 commit 167f3d2

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

spring-ws-docs/src/docs/asciidoc/security.adoc

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,39 @@ WSS4J implements the following standards:
2929

3030
This interceptor supports messages created by the `AxiomSoapMessageFactory` and the `SaajSoapMessageFactory`.
3131

32+
[[security.build]]
33+
== Build Configuration
34+
WSS4J support builds off of the OpenSAML library that https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/1123844333/Use+of+Maven+Central#Publishing-to-Maven-Central[requires an extra repository] configuration.
35+
36+
[[security.build.maven]]
37+
=== Using Maven
38+
With Maven, you need to add an extra `repository` element to your POM as follows:
39+
40+
[source,xml,subs="verbatim,attributes"]
41+
----
42+
<repositories>
43+
<repository>
44+
<id>shibboleth-releases</id>
45+
<name>Shibboleth Releases Repository</name>
46+
<url>https://build.shibboleth.net/maven/releases</url>
47+
<snapshots>
48+
<enabled>false</enabled>
49+
</snapshots>
50+
</repository>
51+
</repositories>
52+
----
53+
54+
[[security.build.gradle]]
55+
=== Using Gradle
56+
With Gradle, a repository element should be added to your build script:
57+
58+
[source,gradle,subs="verbatim,attributes"]
59+
----
60+
repositories {
61+
maven { url "https://build.shibboleth.net/maven/releases" }
62+
}
63+
----
64+
3265
== Configuring `Wss4jSecurityInterceptor`
3366

3467
WSS4J uses no external configuration file.

0 commit comments

Comments
 (0)