Unprotecting spring-security-saml endpoint using controllerAnnotations staticRules in Grails 3 -


i'm trying configure grails-spring-security-saml (https://github.com/jeffwils/grails-spring-security-saml) plugin in grails 3.2.6 application. using local openam identity provider. original doc shows configuration sample using intercepturlmap securityconfigtype protect controllers @secured annotations set securityconfigtype annotation. saw there rule in intercepturlmap permit access /spring-security-saml/** copied rule controllerannotations.staticrules

here resulting section in application.yml

grails: plugin:     springsecurity:         userlookup:             userdomainclassname: unbox.sso.user             authorityjoinclassname: unbox.sso.userrole             attributeclassname: unbox.sso.attribute         authority:             classname: unbox.sso.role         securityconfigtype: annotation         logout:           postonly: false         controllerannotations:             staticrules:                 - pattern: '/spring-security-saml/**'                   access: ['permitall']                 - pattern: '/'                   access: ['permitall']                 - pattern: '/index'                   access: ['permitall']                 - pattern: '/index.gsp'                   access: ['permitall']                 - pattern: '/error'                   access: ['permitall']                 - pattern: '/shutdown'                   access: ['permitall']                 - pattern: '/assets/**'                   access: ['permitall']                 - pattern: '/**/js/**'                   access: ['permitall']                 - pattern: '/**/css/**'                   access: ['permitall']                 - pattern: '/**/images/**'                   access: ['permitall']                 - pattern: '/**/favicon.ico'                   access: ['permitall']         intercepturlmap:             - pattern: '/public/**'               access: ['permitall']             - pattern: '/index'               access: ['permitall']             - pattern: '/index.gsp'               access: ['permitall']             - pattern: '/error'               access: ['permitall']             - pattern: '/assets/**'               access: ['permitall']             - pattern: '/**/js/**'               access: ['permitall']             - pattern: '/**/css/**'               access: ['permitall']             - pattern: '/**/images/**'               access: ['permitall']             - pattern: '/**/favicon.ico'               access: ['permitall']             - pattern: '/favicon.ico'               access: ['permitall']             - pattern: '/login'               access: ['permitall']             - pattern: '/login.*'               access: ['permitall']             - pattern: '/login/**'               access: ['permitall']             - pattern: '/logout'               access: ['permitall']             - pattern: '/logout.*'               access: ['permitall']             - pattern: '/logout/**'               access: ['permitall']             - pattern: '/public/**'               access: ['permitall']             - pattern: '/spring-security-saml/**'               access: ['permitall']             - pattern: '/**'               access: ['permitall'] 

but doesn't appear work, after log in openam , openam redirects me /spring-security-saml/saml/sso/alias/myapp, endpoint seems require authentication, redirects openam , i'm stuck in infinite redirection loop.

can me figure out endpoint configured and/or how can unprotect it?


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -