spring-projects / spring-projects/spring-security-samples

Problems with SAML2 samples

Open
#81 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
Java
Stars
1.8k
Forks
797
Avg merge
3m
Merged PRs (30d)
5

Description

I'm having problems trying to run these two SAML2 samples:

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.)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the READMEs in the two linked SAML2 sample directories and run the reported Gradle tasks: appStart and bootRun. Verify why the first sample serves Tomcat's 404 page and determine how the second sample can be started with debugger attachment. Done means the README commands work, the first webapp loads, and the second supports straightforward debugging.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
authentication, build-system, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.