Open
Description
I'm having problems trying to run these two SAML2 samples:
- https://github.com/spring-projects/spring-security-samples/tree/main/servlet/java-configuration/saml2/login
- https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/saml2/login
The Gradle command line in the READMEs doesn't work. I figured out what I think are the right tasks to invoke:
:servlet:java-configuration:saml2:login:appStart
for the first of the above samples, and:servlet:spring-boot:java:saml2:login:bootRun
for the second of the above samples.
For the first sample, Tomcat seems to come up but the webapp doesn't seem to be loaded. Going to http://localhost:8080 produces a generic Tomcat 404 page.
For the second sample, Tomcat and the webapp do come up. I'd like to be able to attach a debugger to it though and there doesn't seem to be a simple way to do that. (For the first sample, if it worked, I think I could use the ...:appStartDebug
task to make it debuggable.)