You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* todo `-Didp.metadata=<PATH_TO_PROJECT>/distribution/command-line/src/main/resources/sp-metadata.xml`
74
+
> Docker is used exclusively for our Jenkins builds.
73
75
74
76
## Steps to Test DDF's IDP
75
-
* Boot up DDF
76
-
* Copy the contents of `test-sp-metadata.xml` under `...saml-conformance/distribution/command-line/src/main/resources` to `AdminConsole -> Security -> Configuration -> IdPServer -> SP Metadata`.
77
-
* If not on localhost, copy DDF's IDP metadata from `https://<hostname>:<port>/services/saml/sso/metadata` to `idp-metadata.xml` under `...saml-conformance/distribution/command-line/src/main/resources`.
78
-
* Run the tests through your IDE by setting the vm variables (see "Running Tests in IDE") or by invoking the `...saml-conformance/distribution/command-line/target/command-line-\[VERSION\]-bin/bin/samltest.sh` script.
77
+
* Start DDF
78
+
* Copy the contents of `test-sp-metadata.xml` to `AdminConsole -> Security -> Configuration -> IdPServer -> SP Metadata`.
79
+
* If not on localhost, copy DDF's IDP metadata from `https://<hostname>:<port>/services/idp/login/metadata`
80
+
to a file and pass that file to the `samlconf` script using `-i` or `--idpMetadata`.
81
+
* Run `samlconf`.
79
82
80
83
## Steps to Test DDF's SP
81
-
todo
84
+
**TODO** * Start DDF
85
+
* Copy the contents of `test-idp-metadata.xml` to `AdminConsole -> Security -> Configuration -> IdPClient -> IdP Metadata`.
86
+
* If not on localhost, copy DDF's SP metadata from `https://<hostname>:<port>/services/saml/sso/metadata`
87
+
to a file and pass that file to the `samlconf` script using `-s` or `--spMetadata`.
88
+
* Run `samlconf`.
82
89
83
90
## Project Structure
84
91
This section will briefly talk about the project structure.
@@ -87,7 +94,7 @@ This section will briefly talk about the project structure.
87
94
This module contains all the test related modules: `idp`, `sp`, and `common`.
88
95
89
96
#### idp
90
-
This module will contain all tests being written against a SAML IdP. The src directory of the module is organized by the SAML spec as follows:
97
+
This module will contain all tests being written against a SAML IdP. The `src` directory of the module is organized by the SAML specification as follows:
91
98
* Package: Based on Profile (i.e. WebSSO, Single Logout)
92
99
* Class: Based on Binding (i.e. POST, REDIRECT, ARTIFACT)
93
100
* Class: Based on Metadata
@@ -122,7 +129,8 @@ This module is the projects full package deployment consisting of: `command-line
122
129
todo: check and elaborate on this→ This module contains all the runtime elements including scripts, jars, and configurations.
123
130
124
131
#### docker
125
-
todo: check this→ This module contains the logic for building a docker image.
132
+
This module contains the logic for building a docker image.
133
+
To build this module you must run the docker task by executing `gradle build docker`.
0 commit comments