Skip to content

Commit 2d24e09

Browse files
committed
Polish link about SpEL beans
1 parent 50b85ae commit 2d24e09

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,11 +1657,9 @@ Xml::
16571657
<4> This method may only be invoked by ``Princpal``s with an `aud` claim equal to "my-audience"
16581658
<5> This method may only be invoked if the bean ``authz``'s `check` method returns `true`
16591659

1660-
[NOTE]
1660+
[TIP]
16611661
====
1662-
You can use a bean like `authz` above to add programmatic authorization.
1663-
It can return a `boolean`, and `AuthorizationResult`, or throw an `AuthorizationDeniedException`.
1664-
For exceptions, you can <<fallback-values-authorization-denied, handle them at the method level>>.
1662+
You can use a bean like `authz` above to <<_using_a_custom_bean_in_spel, add programmatic authorization>>.
16651663
====
16661664

16671665
[[using_method_parameters]]

0 commit comments

Comments
 (0)