Is it possible to have multi realm security with the Grails Spring Security Plugin? -
i have found few examples of how spring security supports ability use different authentication mechanisms different url patterns. use case want distinguish between browser authentication , restful api key authentication depending on url. http://www.javacodegeeks.com/2012/08/spring-security-two-security-realms-in.html
today use 2 grails apps accomplish separation. have seen shiro plugin has concepts of realms know if possible accomplish spring sec plugin?
from further research believe employing filter chain map it's possible assign specific filter particular urls new filter can created handle rest requests.
grails.plugin.springsecurity.filterchain.chainmap = [ '/web/**': 'webfilter1,filter2,filter3,filter4', '/rest/**': 'restfilter1,filter3,filter5', '/**': 'joined_filters', ]
Comments
Post a Comment