-
Notifications
You must be signed in to change notification settings - Fork 99
feat(fusion): add stateless option to VaadinWebSecurityConfigurerAdapter #900
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
knoobie
reviewed
Sep 14, 2021
haijian-vaadin
suggested changes
Sep 17, 2021
...jwt/src/main/java/com/vaadin/flow/spring/fusionsecurityjwt/config/SecurityConfiguration.java
Outdated
Show resolved
Hide resolved
vaadin-spring/src/main/java/com/vaadin/flow/spring/security/JwtSplitCookieManagementFilter.java
Outdated
Show resolved
Hide resolved
vaadin-spring/src/main/java/com/vaadin/flow/spring/security/JwtSplitCookieService.java
Outdated
Show resolved
Hide resolved
845e2c4 to
e7e4346
Compare
haijian-vaadin
suggested changes
Sep 21, 2021
haijian-vaadin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The JwtSecurityUtils could also be removed?
e18468a to
b07491f
Compare
haijian-vaadin
suggested changes
Sep 28, 2021
...t-spring-security-fusion/src/test/java/com/vaadin/flow/spring/fusionsecurity/SecurityIT.java
Outdated
Show resolved
Hide resolved
...spring/src/main/java/com/vaadin/flow/spring/security/SerializedJwtSplitCookieRepository.java
Outdated
Show resolved
Hide resolved
vaadin-spring/src/main/java/com/vaadin/flow/spring/security/VaadinDefaultRequestCache.java
Outdated
Show resolved
Hide resolved
…itory and security configurer
b07491f to
78fe1be
Compare
haijian-vaadin
suggested changes
Sep 28, 2021
...t-spring-security-fusion/src/test/java/com/vaadin/flow/spring/fusionsecurity/SecurityIT.java
Show resolved
Hide resolved
...spring/src/main/java/com/vaadin/flow/spring/security/VaadinWebSecurityConfigurerAdapter.java
Outdated
Show resolved
Hide resolved
haijian-vaadin
approved these changes
Sep 30, 2021
This was referenced Oct 1, 2021
Collaborator
|
This ticket/PR has been released with platform 22.0.0.alpha5 and is also targeting the upcoming stable 22.0.0 version. |
manolo
pushed a commit
to vaadin/flow
that referenced
this pull request
Feb 8, 2022
vaadin/spring#900 * feat(fusion): add stateless option to VaadinWebSecurityConfigurerAdapter Fixes: vaadin/spring#807 * chore: remove unused private field * refactor: reimplement stateless security with JwtSecurityContextRepository and security configurer * Fix SecurityIT with JWT * Fix loading the JWT user in IT * Add ITs for JWT cookies * Fix SpringClassesSerializableTest * Add SerializedJwtSplitCookieRepositoryTest * Test delegateRequestCache in VaadinDefaultRequestCache * Fix logout button check in SecurityIT * Revert accidentally removed test * Make stateless Spring Security dependencies optional * Add license headers * Make cookie names private * Make setDelegateRequestCache package-private for now * Make VaadinStatelessSecurityConfigurer package-private for now * Rename stateless security config entrypoint method * Revert change in SuccessHandler * add oauth2-jose dep to fusion security test * Fix analysis findings Co-authored-by: haijian <haijian@vaadin.com>
manolo
pushed a commit
to vaadin/flow
that referenced
this pull request
Feb 8, 2022
vaadin/spring#900 * feat(fusion): add stateless option to VaadinWebSecurityConfigurerAdapter Fixes: vaadin/spring#807 * chore: remove unused private field * refactor: reimplement stateless security with JwtSecurityContextRepository and security configurer * Fix SecurityIT with JWT * Fix loading the JWT user in IT * Add ITs for JWT cookies * Fix SpringClassesSerializableTest * Add SerializedJwtSplitCookieRepositoryTest * Test delegateRequestCache in VaadinDefaultRequestCache * Fix logout button check in SecurityIT * Revert accidentally removed test * Make stateless Spring Security dependencies optional * Add license headers * Make cookie names private * Make setDelegateRequestCache package-private for now * Make VaadinStatelessSecurityConfigurer package-private for now * Rename stateless security config entrypoint method * Revert change in SuccessHandler * add oauth2-jose dep to fusion security test * Fix analysis findings Co-authored-by: haijian <haijian@vaadin.com>
platosha
added a commit
to vaadin/hilla
that referenced
this pull request
May 24, 2022
vaadin/spring#900 * feat(fusion): add stateless option to VaadinWebSecurityConfigurerAdapter Fixes: vaadin/spring#807 * chore: remove unused private field * refactor: reimplement stateless security with JwtSecurityContextRepository and security configurer * Fix SecurityIT with JWT * Fix loading the JWT user in IT * Add ITs for JWT cookies * Fix SpringClassesSerializableTest * Add SerializedJwtSplitCookieRepositoryTest * Test delegateRequestCache in VaadinDefaultRequestCache * Fix logout button check in SecurityIT * Revert accidentally removed test * Make stateless Spring Security dependencies optional * Add license headers * Make cookie names private * Make setDelegateRequestCache package-private for now * Make VaadinStatelessSecurityConfigurer package-private for now * Rename stateless security config entrypoint method * Revert change in SuccessHandler * add oauth2-jose dep to fusion security test * Fix analysis findings Co-authored-by: haijian <haijian@vaadin.com>
platosha
added a commit
to vaadin/hilla
that referenced
this pull request
May 31, 2022
vaadin/spring#900 * feat(fusion): add stateless option to VaadinWebSecurityConfigurerAdapter Fixes: vaadin/spring#807 * chore: remove unused private field * refactor: reimplement stateless security with JwtSecurityContextRepository and security configurer * Fix SecurityIT with JWT * Fix loading the JWT user in IT * Add ITs for JWT cookies * Fix SpringClassesSerializableTest * Add SerializedJwtSplitCookieRepositoryTest * Test delegateRequestCache in VaadinDefaultRequestCache * Fix logout button check in SecurityIT * Revert accidentally removed test * Make stateless Spring Security dependencies optional * Add license headers * Make cookie names private * Make setDelegateRequestCache package-private for now * Make VaadinStatelessSecurityConfigurer package-private for now * Rename stateless security config entrypoint method * Revert change in SuccessHandler * add oauth2-jose dep to fusion security test * Fix analysis findings Co-authored-by: haijian <haijian@vaadin.com>
vercel-talented
added a commit
to vercel-talented/hilla-react
that referenced
this pull request
May 4, 2024
vaadin/spring#900 * feat(fusion): add stateless option to VaadinWebSecurityConfigurerAdapter Fixes: vaadin/spring#807 * chore: remove unused private field * refactor: reimplement stateless security with JwtSecurityContextRepository and security configurer * Fix SecurityIT with JWT * Fix loading the JWT user in IT * Add ITs for JWT cookies * Fix SpringClassesSerializableTest * Add SerializedJwtSplitCookieRepositoryTest * Test delegateRequestCache in VaadinDefaultRequestCache * Fix logout button check in SecurityIT * Revert accidentally removed test * Make stateless Spring Security dependencies optional * Add license headers * Make cookie names private * Make setDelegateRequestCache package-private for now * Make VaadinStatelessSecurityConfigurer package-private for now * Rename stateless security config entrypoint method * Revert change in SuccessHandler * add oauth2-jose dep to fusion security test * Fix analysis findings Co-authored-by: haijian <haijian@vaadin.com>
byte-dev-hubs
added a commit
to byte-dev-hubs/hila-java
that referenced
this pull request
May 12, 2024
vaadin/spring#900 * feat(fusion): add stateless option to VaadinWebSecurityConfigurerAdapter Fixes: vaadin/spring#807 * chore: remove unused private field * refactor: reimplement stateless security with JwtSecurityContextRepository and security configurer * Fix SecurityIT with JWT * Fix loading the JWT user in IT * Add ITs for JWT cookies * Fix SpringClassesSerializableTest * Add SerializedJwtSplitCookieRepositoryTest * Test delegateRequestCache in VaadinDefaultRequestCache * Fix logout button check in SecurityIT * Revert accidentally removed test * Make stateless Spring Security dependencies optional * Add license headers * Make cookie names private * Make setDelegateRequestCache package-private for now * Make VaadinStatelessSecurityConfigurer package-private for now * Rename stateless security config entrypoint method * Revert change in SuccessHandler * add oauth2-jose dep to fusion security test * Fix analysis findings Co-authored-by: haijian <haijian@vaadin.com>
AceDev24
pushed a commit
to AceDev24/hiliaGround
that referenced
this pull request
Sep 3, 2024
vaadin/spring#900 * feat(fusion): add stateless option to VaadinWebSecurityConfigurerAdapter Fixes: vaadin/spring#807 * chore: remove unused private field * refactor: reimplement stateless security with JwtSecurityContextRepository and security configurer * Fix SecurityIT with JWT * Fix loading the JWT user in IT * Add ITs for JWT cookies * Fix SpringClassesSerializableTest * Add SerializedJwtSplitCookieRepositoryTest * Test delegateRequestCache in VaadinDefaultRequestCache * Fix logout button check in SecurityIT * Revert accidentally removed test * Make stateless Spring Security dependencies optional * Add license headers * Make cookie names private * Make setDelegateRequestCache package-private for now * Make VaadinStatelessSecurityConfigurer package-private for now * Rename stateless security config entrypoint method * Revert change in SuccessHandler * add oauth2-jose dep to fusion security test * Fix analysis findings Co-authored-by: haijian <haijian@vaadin.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
fusion
Changes required for fusion
prerelease version for platform 22.0.0
Released with Platform 22.0.0.alpha5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #807