-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
27 lines (16 loc) · 854 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This is an implementation of the MDX specification. Here is how to get started:
0. Build saml-md-aggregator:
mvn
1. Unpack a bunch of SAML metadata, one EntityDescriptor per file in a directory. The
filename minus the extension (must be .xml) will be the identifier of each
EntityDescriptor.
2. Use keytool to generate a keystore with a signing key in it - eg
keytool -genkeypair -alias mdx -keypass secret123 -keystore mdx.jks
3. Run the standalone webapp:
java -Dmdx.directory=/path/to/metadata \
-Dmdx.signer.alias=mdx \
-Dmdx.signer.pin=secret123 \
-Dmdx.signer.validity=3600 -jar target/saml-md-aggregator-standalone.jar
4. Reference an entity
wget -qO- http://localhost:8080/entity/idp.example.com.xml
Note that the EntityDescriptor has a validUntil of 1h (3600 seconds) into the future.