Home Grails Spring Security url intercept exclude one url from pattern restriction
Reply: 0

Grails Spring Security url intercept exclude one url from pattern restriction

user528
1#
user528 Published in May 22, 2018, 4:35 am

Using grails spring security plugin, how do I make an exception to an intercept rule. I want to lock down most urls in a directory with a couple of exceptions.

grails.plugin.springsecurity.interceptUrlMap = [

//allow low level users to view
"/projects/list":["IS_AUTHENTICATED_FULLY","ROLE_CASUAL"],
//lock down all others
"/projects/**":["IS_AUTHENTICATED_FULLY","ROLE_MANAGER"]
]

The wild card overrides the exception to the rule. Reversing the order doesn't work either.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.306885 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO