aspose file tools*
The moose likes Groovy and the fly likes About SpringSecurity plugin (again) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "About SpringSecurity plugin (again)" Watch "About SpringSecurity plugin (again)" New topic
Author

About SpringSecurity plugin (again)

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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?


GenRocket - Experts at Building Test Data
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Thanks Gregg, I made a redirection from index.gsp
Everything works correctly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About SpringSecurity plugin (again)