Эх сурвалжийг харах

Add Instructions for Running Sample

Josh Cummings 2 жил өмнө
parent
commit
8dd6a32e82

+ 20 - 0
servlet/spring-boot/java/saml2/custom-urls/README.adoc

@@ -81,3 +81,23 @@ Since we are forwarding from one URL to another, we should also register it for
 
 The `RelyingPartyRegistration` properties should also be customized to match the values that were used by the SAML Extension (see <2>, <3> and <4> above).
 
+== Run the Sample
+
+=== Start up the Sample Boot Application
+```
+ ./gradlew :servlet:spring-boot:java:saml2:custom-urls:bootRun
+```
+
+=== Open a Browser
+
+http://localhost:8080/
+
+You will be redirected to the Okta SAML 2.0 IDP
+
+=== Type in your credentials
+
+```
+User: testuser2@spring.security.saml
+Password: 12345678
+```
+

+ 20 - 0
servlet/spring-boot/java/saml2/saml-extension-federation/README.adoc

@@ -76,3 +76,23 @@ spring:
 
 The `RelyingPartyRegistration` properties should also be customized to match the values that were used by the SAML Extension (see <2>, <3> and <4> above).
 
+== Run the Sample
+
+=== Start up the Sample Boot Application
+```
+ ./gradlew :servlet:spring-boot:java:saml2:saml-extension-federation:bootRun
+```
+
+=== Open a Browser
+
+http://localhost:8080/
+
+Select the first IdP listed.
+You will be redirect to the Okta SAML 2.0 IDP
+
+=== Type in your credentials
+
+```
+User: testuser2@spring.security.saml
+Password: 12345678
+```