A sample application protected by Spring Security Saml2.
App is available by default at
The SP metadata is available under
src\main\resources\metadata. Deploy the application, and
Metadata Administration tab to generate new metadata for the SP. Copy the content
and paste them into the
The newly generated SP metadata needs to be loaded by the IdP, in the
<MetadataProvider id="LocalMetadata" xsi:type="FilesystemMetadataProvider" metadataFile="/path/to/sp-metadata.xml"/>
The IdP metadata is referenced inside the
sp.properties file. While you are reviewing this file,
also adjust the
host.name property. This should be pointed to FQDN of the server that hosts the sample
The application can be run using an embedded Jetty instance:
gradlew build jettyRunWar
- The sample application will be available at:
- Remote debugging via the embedded Jetty deployment option is available under port
The build script is able to automatically deploy the sample to
deploy will automatically build the sample application as well.
For this work, you must define the
$CATALINA_HOME environment variable to point to your
Tomcat installation directory.
- The application has been tested with Shibboleth IdP 3.3.