This document describes how to download and install Unicon's shibboleth-sample-java-sp sample.
This document also describes how to use the shibboleth-sample-java-sp app to generate metadata needed later to register the fortress-saml-demo Service Provider with the ssocircle.com Identity Provider.
Alternatively, the spring-security-saml-sample may be used to do the same thing (generate SP metadata) but those steps are not here.
- Java 8 sdk
- Gradle - to build shibboleth-sample-java-sp
- Tomcat8 - to deploy shibboleth-sample-java-sp
file, replace the metadata bean declaration with:
<bean id="metadata" class="org.springframework.security.saml.metadata.CachingMetadataManager">
<constructor-arg>
<list>
<bean class="org.opensaml.saml2.metadata.provider.HTTPMetadataProvider">
<constructor-arg>
<value type="java.lang.String">http://idp.ssocircle.com/idp-meta.xml</value>
</constructor-arg>
<constructor-arg>
<value type="int">5000</value>
</constructor-arg>
<property name="parserPool" ref="parserPool"/>
</bean>
</list>
</constructor-arg>
</bean>
wget http://idp.ssocircle.com/idp-meta.xml -o /tmp/idp-metadata.xml
file.
replace the idp.metadata tag with a pointer to file just downloaded to local harddrive:
idp.metadata=/tmp/idp-metadata.xml
follow the steps to build and deploy.
a. Use this URL: [http://localhost:8080/sp](Spring Saml Landing Page) b. Looks like this:
enter a unique value
e.g. fortress-saml-demo
Remember this value It is used inside the file during the fortress-saml-demo setup and links SP with the IdP.
e.g. http://host-name:8080/fortress-saml-demo (where host-name corresponds with your machine's host name)
Remember this value: The host-name will be entered during the REGISTER-SSOCIRCLE.md setup.
Save it with an '.xml' extension. We'll need it later on during the REGISTER-SSOCIRCLE.md steps.
Save this file It is needed during the REGISTER-SSOCIRCLE.md setup.
How to enable a new account on SSOCircle.com section of the REGISTER-SSOCIRCLE.md doc.