In Grails with Spring Security, how can I run different spring security plugins for different domains?
For a few methods on a controller I want them to be secured with a normal username/password, which is stored in my database. For a different domain name though, I want to use another method, which in my case is shibboleth.
For example: If you were to acceces example.com/abc you would be redirected to a user/pass page. If you were to access the same webapp as sub.example.com/abc you would be led through the shibboleth login flow.
The idea is to support users that create an account and also those authenticating with an existing 3rd party account.