You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2025/10/14 14:00:45 UTC

(grails-spring-security) branch issue-1181 created (now 13b12eb8)

This is an automated email from the ASF dual-hosted git repository.

matrei pushed a change to branch issue-1181
in repository https://gitbox.apache.org/repos/asf/grails-spring-security.git


      at 13b12eb8 docs: use correct config for static mapping rules

This branch includes the following new commits:

     new 13b12eb8 docs: use correct config for static mapping rules

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(grails-spring-security) 01/01: docs: use correct config for static mapping rules

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

matrei pushed a commit to branch issue-1181
in repository https://gitbox.apache.org/repos/asf/grails-spring-security.git

commit 13b12eb834cae9c69b41e82623f6dfb61b8811f8
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Tue Oct 14 16:00:14 2025 +0200

    docs: use correct config for static mapping rules
---
 plugin-core/docs/src/docs/requestMappings/expressions.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugin-core/docs/src/docs/requestMappings/expressions.adoc b/plugin-core/docs/src/docs/requestMappings/expressions.adoc
index 779080fc..58874690 100644
--- a/plugin-core/docs/src/docs/requestMappings/expressions.adoc
+++ b/plugin-core/docs/src/docs/requestMappings/expressions.adoc
@@ -62,9 +62,9 @@ new Requestmap(url: "/secure/someOtherAction",
 and the corresponding static mappings would be
 
 [source,groovy]
-.Listing {counter:listing}. Adding mappings in `grails.plugin.springsecurity.interceptUrlMap`
+.Listing {counter:listing}. Adding mappings in `grails.plugin.springsecurity.controllerAnnotations.staticRules`
 ----
-grails.plugin.springsecurity.interceptUrlMap = [
+grails.plugin.springsecurity.controllerAnnotations.staticRules = [
    [pattern: '/secure/someAction',      access: ["hasRole('ROLE_ADMIN')"]],
    [pattern: '/secure/someOtherAction', access: ["authentication.name == 'ralph'"]]
 ]