spring-projects / spring-projects/spring-security
SEC-3039: Emit error on startup when using HSTS together with require-channel="http"
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Thomas Timbul (Migrated from SEC-3039) said:
Using HSTS and specifying require-channel="http" anywhere amounts to invalid configuration. Doing so would break a site.
In such case a clear and prominent error should be emitted on startup pointing the user to the documentation, which should be improved as per https://jira.spring.io/browse/SEC-3038
Container startup should fail with an Exception to prevent this misconfiguration rather than just showing a warning.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the startup configuration paths for HSTS and require-channel="http". Verify that their combination is rejected with an exception during container startup, and consult the documentation referenced by SEC-3038 to confirm the configuration guidance is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100