wood burning stoves 2.0*
The moose likes Groovy and the fly likes How to show the auth page if the user typed the application context URL only? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Groovy
Bookmark "How to show the auth page if the user typed the application context URL only?" Watch "How to show the auth page if the user typed the application context URL only?" New topic
Author

How to show the auth page if the user typed the application context URL only?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hi,
I use Spring Security plugin for my demo.
How to show the authentication page if the user typed: http://localhost:8080/Demo ?
I use Config.groovy to enforce URLs security.
Thanks for help and time.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Solved it.
I have to use '/' pattern in Config.groovy .
 
GeeCON Prague 2014
 
subject: How to show the auth page if the user typed the application context URL only?