File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About SpringSecurity plugin (again)

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Gregg, I made a redirection from index.gsp
Everything works correctly.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic