| Author |
About SpringSecurity plugin (again)
|
Hussein Baghdadi
clojure forum advocate
Bartender
Joined: Nov 08, 2003
Posts: 3359
|
|
Hey,
Ok, I managed to integrate SpringSecurity plugin into our Grails application.
I use annotations to demarcate authorization.
The problem now when I type the application URL in the browser:
http://localhost:8080/store/
Login page didn't get displayed.
In order to get login page, I have to type a restricted controller:
http://localhost:8080/store/dashboard/index
Also, I don't get the login page upon logging out.
In case you would like to check code snippets, tell me what to post (I didn't want to blast my post with code).
Thanks for help and time.
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15229
|
|
There's a root index.gsp that http://localhost:8080/store/ is going to render. What does that index.gsp do? I typically have mine redirect to a controller or modify the UrlMappings.groovy to make / point to a controller and action.
Also, I don't get the login page upon logging out.
Logging out from where?
|
 |
Hussein Baghdadi
clojure forum advocate
Bartender
Joined: Nov 08, 2003
Posts: 3359
|
|
Thanks Gregg, I made a redirection from index.gsp
Everything works correctly.
|
 |
 |
|
|
subject: About SpringSecurity plugin (again)
|
|
|