Migrate SAML 2.0 Tests and Docs to PCFOne

Issue gh-9362
This commit is contained in:
Josh Cummings 2021-01-25 08:32:17 -07:00
parent 6df5dc4ecf
commit 52ad49074d
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
4 changed files with 9 additions and 9 deletions

View File

@ -1933,9 +1933,9 @@ public final class HttpSecurity extends
* *
* private RelyingPartyRegistration getSaml2RelyingPartyRegistration() { * private RelyingPartyRegistration getSaml2RelyingPartyRegistration() {
* //remote IDP entity ID * //remote IDP entity ID
* String idpEntityId = "https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/metadata.php"; * String idpEntityId = "https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/metadata.php";
* //remote WebSSO Endpoint - Where to Send AuthNRequests to * //remote WebSSO Endpoint - Where to Send AuthNRequests to
* String webSsoEndpoint = "https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/SSOService.php"; * String webSsoEndpoint = "https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/SSOService.php";
* //local registration ID * //local registration ID
* String registrationId = "simplesamlphp"; * String registrationId = "simplesamlphp";
* //local entity ID - autogenerated based on URL * //local entity ID - autogenerated based on URL
@ -2024,9 +2024,9 @@ public final class HttpSecurity extends
* *
* private RelyingPartyRegistration getSaml2RelyingPartyRegistration() { * private RelyingPartyRegistration getSaml2RelyingPartyRegistration() {
* //remote IDP entity ID * //remote IDP entity ID
* String idpEntityId = "https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/metadata.php"; * String idpEntityId = "https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/metadata.php";
* //remote WebSSO Endpoint - Where to Send AuthNRequests to * //remote WebSSO Endpoint - Where to Send AuthNRequests to
* String webSsoEndpoint = "https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/SSOService.php"; * String webSsoEndpoint = "https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/SSOService.php";
* //local registration ID * //local registration ID
* String registrationId = "simplesamlphp"; * String registrationId = "simplesamlphp";
* //local entity ID - autogenerated based on URL * //local entity ID - autogenerated based on URL

View File

@ -270,9 +270,9 @@ spring:
saml2: saml2:
login: login:
relying-parties: relying-parties:
- entity-id: &idp-entity-id https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/metadata.php - entity-id: &idp-entity-id https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/metadata.php
registration-id: simplesamlphp registration-id: simplesamlphp
web-sso-url: &idp-sso-url https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/SSOService.php web-sso-url: &idp-sso-url https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/SSOService.php
signing-credentials: &service-provider-credentials signing-credentials: &service-provider-credentials
- private-key: | - private-key: |
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----

View File

@ -37,9 +37,9 @@ import static org.springframework.util.Assert.notNull;
* A fully configured registration may look like * A fully configured registration may look like
* <pre> * <pre>
* //remote IDP entity ID * //remote IDP entity ID
* String idpEntityId = "https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/metadata.php"; * String idpEntityId = "https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/metadata.php";
* //remote WebSSO Endpoint - Where to Send AuthNRequests to * //remote WebSSO Endpoint - Where to Send AuthNRequests to
* String webSsoEndpoint = "https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/SSOService.php"; * String webSsoEndpoint = "https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/SSOService.php";
* //local registration ID * //local registration ID
* String registrationId = "simplesamlphp"; * String registrationId = "simplesamlphp";
* //local entity ID - autogenerated based on URL * //local entity ID - autogenerated based on URL

View File

@ -28,7 +28,7 @@
<a th:href="@{/logout}">Log Out</a> <a th:href="@{/logout}">Log Out</a>
</li> </li>
<li> <li>
<a href="https://simplesaml-for-spring-saml.cfapps.io/module.php/core/authenticate.php?as=example-userpass&logout"> <a href="https://simplesaml-for-spring-saml.apps.pcfone.io/module.php/core/authenticate.php?as=example-userpass&logout">
Log out of SimpleSAMLPhp Log out of SimpleSAMLPhp
</a> </a>
</li> </li>