2013-10-31

Where's the file LogoutController.grooxy in project after installed Grails Spring Security 2.0RC plugin

Sometimes, we need override class LoginController or LogoutController when using ajax authentication function of Grails Spring Security plugin. But in 2.0RC version, after you run s2-quickstart, the LoginController and LogoutController class are not created in the grails-app\controllers folder as before. where're they now? Oh, they're hidden deeply:

\target\work\plugins\spring-security-core-2.0-RC2\grails-app\controllers\grails\plugin\springsecurity

if you still can not find it, please use file search function in the IDE.

Remember copying the file to grails-app\controllers folder before you using and override it.

No comments:

Post a Comment