Skip to content

feat: Document VaadinSecurityConfigurer #4420

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

Draft
wants to merge 2 commits into
base: latest
Choose a base branch
from

Conversation

mshabarov
Copy link
Contributor

@mshabarov mshabarov commented Jul 3, 2025

Upgrades the Navigation Access Control docs to use VaadinSecurityConfigurer.
Adds API description for VaadinSecurityConfigurer and examples (perhaps deserves a separate chapter).
Upgrades Enable Security chapter to use VSC.
Upgrades other articles where VaadinWebSecurity was used.

Note: Some articles still need upgrade and marked with TODO.

Part-of #4298

http.authorizeHttpRequests(auth -> auth
.requestMatchers(new AntPathRequestMatcher("/admin-only/**"))
.hasAnyRole("ADMIN")
.requestMatchers(RequestUtil.antMatchers("/public/**", "/error"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

antMatchers are deprecated. To be replaced by PathPatternRequestMatcher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant