-
Notifications
You must be signed in to change notification settings - Fork 6.1k
DSL nested builder for HTTP security #7046
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
rwinch
merged 25 commits into
spring-projects:master
from
eleftherias:gh-5557-dsl-nested-builder
Jul 12, 2019
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
92314b0
Allow configuration of logout through nested builder
eleftherias 1a31376
Allow configuration of exception handling through nested builder
eleftherias 6986cf3
Allow configuration of csrf through nested builder
eleftherias 758397f
Allow configuration of headers through nested builder
eleftherias a9a1f8e
Allow configuration of form login through nested builder
eleftherias 6fd5158
Allow configuration of cors through nested builder
eleftherias 6fbea88
Allow configuration of session management through nested builder
eleftherias 86f0f84
Allow configuration of port mapper through nested builder
eleftherias bfc9538
Allow configuration of jee through nested builder
eleftherias ae9eb6f
Allow configuration of x509 through nested builder
eleftherias fcb119b
Allow configuration of remember me through nested builder
eleftherias 1445d1b
Allow configuration of request cache through nested builder
eleftherias 81d3cf1
Allow configuration of authorize requests through nested builder
eleftherias 04e0dcf
Allow configuration of security context through nested builder
eleftherias a5943fb
Allow configuration of servlet api through nested builder
eleftherias ae8e12f
Allow configuration of anonymous through nested builder
eleftherias 1ad9f15
Allow configuration of requires channel through nested builder
eleftherias c3dad06
Allow configuration of request matchers through nested builder
eleftherias bf1bbd1
Allow configuration of openid login through nested builder
eleftherias e47389e
Allow configuration of oauth2 login through nested builder
eleftherias 4157608
Allow configuration of oauth2 client through nested builder
eleftherias 4b2539d
Allow configuration of oauth2 resource server through nested builder
eleftherias 7961b81
Allow configuration of session fixation and concurrency through neste…
eleftherias b004f9f
Use http security nested builder in docs
eleftherias a0ca45e
Use http security nested builder in samples
eleftherias File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,343 changes: 1,315 additions & 28 deletions
1,343
...c/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.
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.
featurePolicy()
has not been updated to allow lambda configuration.This is because there is no reasonable default for the
policyDirectives
argument.Instead, it can be the last configuration for
headers()
.