• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

About SpringSecurity plugin (again)

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Gregg, I made a redirection from index.gsp
Everything works correctly.
reply
    Bookmark Topic Watch Topic
  • New Topic