Skip to content

Reduce H2 console path hard-coding #1269

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

Closed
php-coder opened this issue Mar 4, 2020 · 0 comments
Closed

Reduce H2 console path hard-coding #1269

php-coder opened this issue Mar 4, 2020 · 0 comments
Assignees
Labels
dependency/spring Task is related to Spring Framework refactoring techdebt
Milestone

Comments

@php-coder
Copy link
Owner

Instead of hard-coding /console in SecurityConfig and ContentSecurityPolicyHeaderWriter we can inject H2ConsoleProperties class and obtain a path with H2ConsoleProperties.getPath() method. See example in org.springframework.boot.autoconfigure.security.servlet.PathRequest

Tech debt for #869

@php-coder php-coder added refactoring techdebt dependency/spring Task is related to Spring Framework labels Mar 4, 2020
@php-coder php-coder added this to the 0.4.4 milestone Mar 30, 2020
mscibilia added a commit to mscibilia/mystamps that referenced this issue Mar 30, 2020
mscibilia added a commit to mscibilia/mystamps that referenced this issue Mar 30, 2020
mscibilia added a commit to mscibilia/mystamps that referenced this issue Mar 31, 2020
mscibilia added a commit to mscibilia/mystamps that referenced this issue Mar 31, 2020
mscibilia added a commit to mscibilia/mystamps that referenced this issue Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency/spring Task is related to Spring Framework refactoring techdebt
Projects
None yet
Development

No branches or pull requests

2 participants