Two Laptop Bag
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to show the auth page if the user typed the application context URL only?