-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #410 from jtnord/add-developer-docs
Add developer docs
- Loading branch information
Showing
64 changed files
with
260 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+153 KB
docs/developer/AD-FS/adfs-client-images/ADFS_access-controll-permit-everyone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+292 KB
docs/developer/AD-FS/adfs-client-images/ADFS_create-application-gropup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+141 KB
docs/developer/AD-FS/adfs-client-images/ADFS_create-application-group-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+109 KB
docs/developer/AD-FS/adfs-client-images/ADFS_create-client-and-redirect-uri.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+211 KB
docs/developer/AD-FS/adfs-client-images/ADFS_post-install-start-tool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+149 KB
docs/developer/AD-FS/adfs-groups-images/ADFS_groups-application-group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+58.1 KB
docs/developer/AD-FS/adfs-groups-images/ADFS_groups_transform-rules-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+149 KB
docs/developer/AD-FS/adfs-groups-images/ADFS_groups_transform-rules-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+115 KB
docs/developer/AD-FS/adfs-groups-images/ADFS_groups_transform-rules-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+120 KB
docs/developer/AD-FS/adfs-groups-images/ADFS_groups_transform-rules-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+61.3 KB
docs/developer/AD-FS/adfs-groups-images/ADFS_groups_transform-rules-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+67.1 KB
docs/developer/AD-FS/adfs-groups-images/ADFS_groups_transform-rules-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+101 KB
docs/developer/AD-FS/setup-images/roles_confirm-restart-and-install.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Testing changes | ||
|
||
As well as the unit tests run as part of the build, there are additional tests that can be run to confirm there are no regressions | ||
|
||
## Acceptance Test Harness | ||
|
||
The [Jenkins acceptance test harness](https://github.com/jenkinsci/acceptance-test-harness) contains a test against a real OpenID Provider (OP). | ||
At the time of writing this is limited to a dynamically created [KeyCloak instance](https://www.keycloak.org/). | ||
|
||
Assuming you have an environment prepared to run the [ATH](https://github.com/jenkinsci/acceptance-test-harness?tab=readme-ov-file#running-tests) you can run these the tests against a local version of the plugin. | ||
|
||
1. create a local build of your changes with `mvn package` | ||
2. switch to the directory containing the ATH clone | ||
1. run the plugins specific test using with `LOCAL_JARS=/full/path/to/oic-auth-plugin/target/oic-auth.hpi mvn test -Dtest=OicAuthPluginTest` | ||
|
||
## OpenID Conformance Tests | ||
|
||
The [OpenID Foundation](https://openid.net/) maintains a set of [conformance tests](https://openid.net/how-to-certify-your-implementation/) for both OpenID Providers (OPs) and OpenID Relying Parties (RPs). | ||
Details for how to run the majority of the tests (RP) for this plugin is detailed [here](https://openid.net/certification/connect_rp_testing/) with specifics for logout based tests [here](https://openid.net/certification/connect_rp_logout_testing/). | ||
It is recommended to create a static client for the tests. | ||
|
||
## Developer Testing against OPs | ||
|
||
Several OpenID Providers (OPs) are freely available in order to setup and test changes locally. | ||
Notable providers are [KeyCloak](https://www.keycloak.org/), [Dex](https://dexidp.io/), and [Google](https://developers.google.com/identity/openid-connect/openid-connect). | ||
|
||
Active Directory Federation Service ([AD FS](https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/ad-fs-overview)) is another provider, however creating a test instance of this is complicated and is documented in [this page](./AD-FS/setup-test-instance.md). |