From 2d24e09665cc29922f7f9cc0a27d10c4a5f55115 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Wed, 10 Apr 2024 16:38:10 -0600 Subject: [PATCH] Polish link about SpEL beans --- .../ROOT/pages/servlet/authorization/method-security.adoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc b/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc index ccd35bdb33..5c2be84260 100644 --- a/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc +++ b/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc @@ -1657,11 +1657,9 @@ Xml:: <4> This method may only be invoked by ``Princpal``s with an `aud` claim equal to "my-audience" <5> This method may only be invoked if the bean ``authz``'s `check` method returns `true` -[NOTE] +[TIP] ==== -You can use a bean like `authz` above to add programmatic authorization. -It can return a `boolean`, and `AuthorizationResult`, or throw an `AuthorizationDeniedException`. -For exceptions, you can <>. +You can use a bean like `authz` above to <<_using_a_custom_bean_in_spel, add programmatic authorization>>. ==== [[using_method_parameters]]