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

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World