1
0
mirror of synced 2026-08-30 14:04:53 +00:00

88 Commits

Author SHA1 Message Date
Josh Cummings c489136515 Merge branch '7.0.x' 2026-03-27 16:40:04 -06:00
Josh Cummings 6020ab8e65 Polish CustomAuthorizationManager Docs
Issue gh-13967

Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
2026-03-27 16:36:00 -06:00
as1605 3076367168 Fix documentation for Custom Authorization Manager
Closes gh-13967

Signed-off-by: as1605 <1605.aditya.singh@gmail.com>
2026-03-27 16:36:00 -06:00
arianna f1e742dfc5 Fix typos in Authorization Documentation
Signed-off-by: arianna <arianna.comi03@gmail.com>
2026-02-05 17:35:25 -07:00
Fr05ty-hub e9a92a8e9a Replacing use of deprecated 'check' in authorization documentation
check() was deprecated in Spring Security 7, but is referenced in documentation

Signed-off-by: Fr05ty-hub <frostylucas@gmail.com>
2026-01-09 15:27:00 -06:00
Josh Cummings 765bdf1ed0 SpEL Expressions Support Returning AuthorizationManager
Closes gh-17936
2025-09-19 12:07:59 -06:00
Rob Winch 9eaadcc70d Add hasAll(Roles|Authorities) to SecurityExpressionRoot
This adds support for hasAllRoles and hasAllAuthorities to method security
expressions.

Issue gh-17932
2025-09-19 09:33:50 -05:00
Josh Cummings b87d63cb71 Document spring-security-access
Closes gh-17847
2025-09-12 10:32:39 -06:00
Steve Riesenberg eeb4574bb3 Add AuthorizationManagerFactory
Signed-off-by: Steve Riesenberg <5248162+sjohnr@users.noreply.github.com>
2025-09-09 15:36:49 -05:00
Josh Cummings 0e39685b9c Merge branch '6.5.x' 2025-08-22 12:40:41 -06:00
Josh Cummings 9d64880ea9 Merge branch '6.4.x' into 6.5.x 2025-08-22 12:40:12 -06:00
Josh Cummings 8b2a453301 Advise Favoring PostAuthorize on Reads
Closes gh-17797
2025-08-22 12:39:51 -06:00
Tran Ngoc Nhan 9312fb7004 Remove Deprecated AuthorizationDecision Elements
Closes gh-17299

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-07-03 14:32:49 -06:00
Josh Cummings 6438603cb6 Pick Up TargetVisitor Beans
Closes gh-16923
2025-04-10 15:48:09 -06:00
Josh Cummings ba273aba43 Merge branch '6.4.x' 2025-02-24 12:54:21 -07:00
Olivier 71e12bb42e Fix @PostResult example in method-security
Replace @PreFilter with @Postfilter in example

Signed-off-by: Olivier <Kuba15@users.noreply.github.com>
2025-02-24 12:54:05 -07:00
Simão Gomes Viana 980564838d method-security: fix invalid Kotlin syntax
val/var on function parameters is invalid Kotlin syntax. It has been removed quite some time ago. This change updates the method-security page to reflect that.

Signed-off-by: Simão Gomes Viana <simao.gomes@toowoxx.de>
2025-01-08 09:53:42 -06:00
Meehdi e67b5f8356 Fix incorrect rendering of SpEL expression example tabs 2025-01-07 15:29:17 -06:00
Tran Ngoc Nhan 40f8ac642a Fix Documentation Typos 2024-12-09 17:56:00 -07:00
Steve Riesenberg 14be74051e Merge branch '6.3.x'
Closes gh-16176
2024-11-26 12:12:49 -06:00
Steve Riesenberg 21ac1022ef Merge branch '6.2.x' into 6.3.x
Closes gh-16175
2024-11-26 12:12:18 -06:00
Harpreet Singh 68d91916e2 Polish Dark Mode for CSRF and Method Security diagrams
Closes gh-16151
2024-11-26 01:53:56 +05:30
Josh Cummings 4787efb40b Update What's New 2024-11-18 15:51:24 -07:00
Marcus Hert Da Coregio 0618d4e03f Provide Runtime Hints for Beans used in Pre/PostAuthorize Expressions
Closes gh-14652
2024-09-13 08:42:14 -03:00
Josh Cummings fd5d03d384 Add AuthorizeReturnObject Hints
Closes gh-15709
2024-09-10 11:57:31 -07:00
Tran Ngoc Nhan febe5e6ddf docs: update 2024-09-03 13:51:47 -07:00
Josh Cummings add5c56136 Update AuthorizeReturnObject Jackson Docs
Now instructs to use MethodAuthorizationDeniedHandler

Issue gh-14601
2024-08-30 11:43:47 -06:00
DingHao fd05c5ad76 Remove Advised Methods from Authorization Proxy Objects
Closes gh-15561
2024-08-30 10:40:25 -07:00
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
2024-08-10 11:46:51 -06:00
Josh Cummings e0be46ea84 Merge branch '6.3.x' 2024-07-29 13:40:27 -06:00
Taha Körkem da65830569 Use Correct Meta-Annotation in Kotlin Sample 2024-07-29 13:39:34 -06:00
Rob Winch 5bd4db1a13 Use javadoc macro
Closes gh-15386
2024-07-09 22:35:01 -05:00
Josh Cummings 290cee238d Merge branch '6.2.x' into 6.3.x
Closes gh-15380
2024-07-08 20:52:46 -06:00
Seungrae f4cbaaa2dd Fix typos and formatting in documentation
Closes gh-15353
2024-07-08 20:52:06 -06:00
Seungrae 148e7843bf Fix typos and formatting in documentation 2024-07-08 19:51:06 -07:00
Marcono1234 a9aefafb76 Fix malformed list in "Using Method Parameters" documentation 2024-07-01 15:18:17 -06:00
Josh Cummings d5328df82d Merge branch '6.3.x' 2024-06-24 13:02:15 -06:00
Josh Cummings 345cd9976d Merge branch '6.2.x' into 6.3.x
Closes gh-15297
2024-06-24 13:02:05 -06:00
Josh Cummings c4f70bee4b Fix Broken Link
Closes gh-15288
2024-06-24 13:01:49 -06:00
Junhyunny 68aef2056e Fix wrong explanation for @PostAuthorize annotation 2024-06-12 11:15:51 -03:00
Blagoja Stamatovski 63f48167bd Add Kotlin support to PreFilter and PostFilter annotations
Closes gh-15093
2024-05-31 12:32:28 -06:00
Marcus Hert Da Coregio 9744cc44d2 Merge branch '6.2.x'
Closes gh-15144
2024-05-23 08:17:26 -03:00
douxf bd72741879 Fix wrong class on documentation
Closes gh-15045
2024-05-23 08:15:56 -03:00
Marcus Hert Da Coregio 08f11f06ab Revert unnecessary commits from main
Issue gh-15016
2024-05-08 13:49:18 -03:00
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
2024-04-12 15:55:25 -03:00
Josh Cummings 2d24e09665 Polish link about SpEL beans 2024-04-10 16:38:10 -06:00
Josh Cummings 50b85aea0d Handle SpEL AuthorizationDeniedExceptions
Closes gh-14600
2024-04-10 15:36:23 -07:00
Marcus Hert Da Coregio 8d914ef145 Add @AuthorizationDeniedHandler for Method Authorization Denied Handling
Issue gh-14601
2024-04-08 14:42:13 -03:00
Josh Cummings 6f07d63938 Support SpEL Returning AuthorizationDecision
Closes gh-14598
2024-04-04 11:32:00 -06:00
Josh Cummings 0a9c482f62 Revert "Support SpEL Returning AuthorizationDecision"
This reverts commit 77f2977c55.
2024-04-04 11:31:45 -06:00