aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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 .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to show the auth page if the user typed the application context URL only?