Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send a static message from HttpStatusServerAccessDeniedHandler #16514

Open
sjohnr opened this issue Jan 31, 2025 · 1 comment · May be fixed by #16528
Open

Send a static message from HttpStatusServerAccessDeniedHandler #16514

sjohnr opened this issue Jan 31, 2025 · 1 comment · May be fixed by #16528
Assignees
Labels
in: web An issue in web modules (web, webmvc) status: ideal-for-contribution An issue that we actively are looking for someone to help us with type: enhancement A general enhancement
Milestone

Comments

@sjohnr
Copy link
Member

sjohnr commented Jan 31, 2025

We should send a static message, e.g. "Access Denied" from HttpStatusServerAccessDeniedHandler instead of the exception message.

@sjohnr sjohnr added in: web An issue in web modules (web, webmvc) status: ideal-for-contribution An issue that we actively are looking for someone to help us with type: enhancement A general enhancement labels Jan 31, 2025
@sjohnr sjohnr added this to the 6.5.x milestone Jan 31, 2025
kwondh5217 added a commit to kwondh5217/spring-security that referenced this issue Feb 3, 2025
@kwondh5217
Copy link
Contributor

Hi @sjohnr ! I’ve submitted a PR to address this issue. Could you please take a look when you have time? Thanks!

@sjohnr sjohnr assigned sjohnr and kwondh5217 and unassigned sjohnr Feb 3, 2025
kwondh5217 added a commit to kwondh5217/spring-security that referenced this issue Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) status: ideal-for-contribution An issue that we actively are looking for someone to help us with type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants