Marcus Hert Da Coregio
0618d4e03f
Provide Runtime Hints for Beans used in Pre/PostAuthorize Expressions
...
Closes gh-14652
1 year ago
Josh Cummings
fd5d03d384
Add AuthorizeReturnObject Hints
...
Closes gh-15709
1 year ago
Tran Ngoc Nhan
febe5e6ddf
docs: update
1 year ago
Josh Cummings
add5c56136
Update AuthorizeReturnObject Jackson Docs
...
Now instructs to use MethodAuthorizationDeniedHandler
Issue gh-14601
1 year ago
DingHao
fd05c5ad76
Remove Advised Methods from Authorization Proxy Objects
...
Closes gh-15561
1 year ago
Josh Cummings
e40c98e6d7
Deprecate PrePostTemplateDefaults
...
Since there is nothing specific to configuring pre/post
annotations, there is no need for the extra class.
If a need like this does arise in the future,
either AnnotationTemplateExpressionDefaults can be sub-
classed, or it can have introduced a Map field holding
custom properties.
Issue gh-15286
1 year ago
Taha Körkem
da65830569
Use Correct Meta-Annotation in Kotlin Sample
1 year ago
Rob Winch
5bd4db1a13
Use javadoc macro
...
Closes gh-15386
1 year ago
Seungrae
f4cbaaa2dd
Fix typos and formatting in documentation
...
Closes gh-15353
1 year ago
Seungrae
148e7843bf
Fix typos and formatting in documentation
1 year ago
Marcono1234
a9aefafb76
Fix malformed list in "Using Method Parameters" documentation
1 year ago
Josh Cummings
c4f70bee4b
Fix Broken Link
...
Closes gh-15288
2 years ago
Junhyunny
68aef2056e
Fix wrong explanation for @PostAuthorize annotation
2 years ago
Blagoja Stamatovski
63f48167bd
Add Kotlin support to PreFilter and PostFilter annotations
...
Closes gh-15093
2 years ago
douxf
bd72741879
Fix wrong class on documentation
...
Closes gh-15045
2 years ago
Patrick Schmidt
1ebd663253
doc: added hint to declare GrantedAuthorityDefaults as infrastructure bean
...
Closes gh-14779
2 years ago
Marcus Hert Da Coregio
08f11f06ab
Revert unnecessary commits from main
...
Issue gh-15016
2 years ago
Marcus Hert Da Coregio
2fbbcc4bd0
Polish Method Authorization Denied Handling
...
- Renamed @AuthorizationDeniedHandler to @HandleAuthorizationDenied
- Merged the post processor interface into MethodAuthorizationDeniedHandler , it now has two methods handleDeniedInvocation and handleDeniedInvocationResult
- @HandleAuthorizationDenied now handles AuthorizationDeniedException thrown from the method
Issue gh-14601
2 years ago
Josh Cummings
2d24e09665
Polish link about SpEL beans
2 years ago
Josh Cummings
50b85aea0d
Handle SpEL AuthorizationDeniedExceptions
...
Closes gh-14600
2 years ago
Marcus Hert Da Coregio
8d914ef145
Add @AuthorizationDeniedHandler for Method Authorization Denied Handling
...
Issue gh-14601
2 years ago
Josh Cummings
6f07d63938
Support SpEL Returning AuthorizationDecision
...
Closes gh-14598
2 years ago
Josh Cummings
0a9c482f62
Revert "Support SpEL Returning AuthorizationDecision"
...
This reverts commit 77f2977c55842a717f8cb5c0344a7dd14b39c794.
2 years ago
Josh Cummings
77f2977c55
Support SpEL Returning AuthorizationDecision
...
Closes gh-14599
2 years ago
Marcus Hert Da Coregio
d85857f905
Add Authorization Denied Handlers for Method Security
...
Closes gh-14601
2 years ago
Josh Cummings
9898e0e993
Move AuthorizationAdvisorProxyFactory
...
To prevent package tangles
Issue gh-14596
2 years ago
Josh Cummings
795e44d11f
Add Value-Type Ignore Support
...
Issue gh-14597
2 years ago
Josh Cummings
d169d5a835
Add AuthorizeReturnObject
...
Closes gh-14597
2 years ago
Josh Cummings
52dfbfb5b3
Add Authorization Proxy Support
...
Closes gh-14596
2 years ago
Josh Cummings
4d383023cb
Add meta-annotation parameter support
...
Closes gh-14480
2 years ago
irerin07
d2bc3404e4
Fix Method Security Docs Typo
2 years ago
Krishna Chaitanya Surapaneni
7ec9188f5b
Remove Irrelevant Documentation Lines
...
Refactor: Remove two lines that lack proper context due to earlier
deletions/movements. They are no longer relevant and contribute little
to the overall meaning.
Issue gh-12974
2 years ago
Josh Cummings
92be497d24
Polish RoleHierachyImpl#of
...
- Change to #fromHierarchy to match naming convention
- Keep existing test methods the same
- Deprecate setHierarchy and default constructor
- Add private Map constructor
- Change Adjust RoleHierarchyBuilder to use Map constructor
Issue gh-13788
2 years ago
Steve Riesenberg
57f7eff568
Polish method-security.adoc
2 years ago
Steve Riesenberg
6e1605314a
Polish gh-14219
2 years ago
ANDREI LISA
1d769b5afc
make XML and Java/Kotlin consistent with AspectJExpressionPointcut
2 years ago
Steve Riesenberg
9db33f33c7
Revert unnecessary merges on 6.0.x
...
This commit removes unnecessary main-branch merges starting from
8750608b5b and adds the following
needed commit(s) that were made afterward:
- 5dce82c48b
2 years ago
Sadid Shaikh
44fad21363
Fix typo in method-security.adoc
...
Fixed typo by changing 'please' to 'place'
2 years ago
pbborisov18
7a8faf85d9
Docs custom AuthorizationManager fix
...
Issue gh-13967
2 years ago
Rob Winch
39c43159f4
Convert to Asciidoctor Tabs
...
Closes gh-13403
3 years ago
Mário Pereira
cece06e338
Fix typo on method-security.adoc
3 years ago
Josh Cummings
f03e045710
Add @EnableTransactionManagement Reference Details
...
Issue gh-13152
3 years ago
Josh Cummings
97a42ba190
Update SpEL Documentation
...
Closes gh-12974
3 years ago
Josh Cummings
e5fcf1ebcf
Revisit Request and Method Security Docs
...
Issue gh-13088
3 years ago
Josh Cummings
2028507bf8
Fix Typo in Sample
...
Closes gh-11095
3 years ago
Josh Cummings
04fa5af794
Add Missing Doc Header
...
The EnableMethodSecurity section
3 years ago
Rob Winch
a5069d7e35
Fix Add @Configuration to @Enable*Security Usage
...
Issue gh-6613
3 years ago
Tim te Beek
ce67fb08fd
Clearly end sentence in note before next sentence
3 years ago
Tim te Beek
2c0a4337a8
Clearly end sentence in note before next sentence
3 years ago
Rob Winch
1f90df6a14
mkdir -p build/ids
...
find -name "*.adoc" | xargs -I{file} awk -v file={file} '/\[\[/ { gsub("\[|\]", ""); id=$0; gsub("./docs/modules/ROOT/pages/", "", file); gsub("\[|\]", ""); id=$0;getline;text=$0; sub("^=+ ","", text); print file > "build/ids/"id".id"; print text > "build/ids/"id".text" }' {file}
find docs/modules -name "*.adoc"|while read adoc_file_to_replace; do
echo "Replacing $adoc_file_to_replace"
for id_file in build/ids/*.id; do
id=$(basename $id_file | sed 's/\.id$//')
xref_page=$(cat $id_file)
if [[ "$adoc_file_to_replace" -ef "./docs/modules/ROOT/pages/$xref_page" ]]
then
echo " - Skipping same page refid $id "
else
sed -i -E "s%<<$id(|,([^,>]+))>>%xref:${xref_page}#${id}[\2]%g" $adoc_file_to_replace
fi
done
done
4 years ago