FAQ Database Discussion Community


How to ignore Spring Security config for every thing except a pattern

spring-security,url-mapping
I have a rest webservice configured as a spring boot application. All my rest urls have a base path "/api/...". I am also serving static content from my application. I need to configure security ONLY for the web service i.e., URLs that start with "/api/..." but give the other static...

Grails Controller and URL Mapping Magic

grails,grails-controller,url-mapping,grails-3.0
Grails 3.0.1 here. I'm looking to accomplish a specific URL/controller structure. My app deploys at the root context (/), meaning locally it runs as http://localhost:8080, and non-locally as http://someserver.example.org. I want everything under /app/* to be authenticated and considered to be part of the "core app" (requires login). Anything outside...