spring-projects / spring-projects/spring-security
SEC-2937: Improve documentation: using a custom AccessDeniedHandler in order to process InvalidCsrfTokenExceptions
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Julien Martin (Migrated from SEC-2937) said:
It would be nice if documentation could include a sample on how to configure a custom AccessDeniedHandler in order to process InvalidCsrfTokenExceptions in the case of timeouts.
Relevant section: [http://docs.spring.io/spring-security/site/docs/3.2.6.RELEASE/reference/htmlsingle/#csrf-timeouts]
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
Open the Spring Security reference section linked in the issue, specifically the CSRF timeouts section, and review how timeout-related InvalidCsrfTokenExceptions are currently documented. Add a sample showing how to configure a custom AccessDeniedHandler for this case, with the documentation clearly explaining the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation, security
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100