This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Security and the fly likes can't login with correct username and password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "can Watch "can New topic
Author

can't login with correct username and password

Jeroen Nouws
Greenhorn

Joined: Jul 14, 2011
Posts: 17
Hi guys,

i'm building a webapp with a protected area i've defined a security constraint in web.xml and use a datasource realm which i defined in context.xml

below you'll find excerpts from the code in both web.xml and context.xml

can anyone see if there's something wrong?

thanks a lot



web.xml

Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

I'm not especially familiar with those files, but is the main element of the first one really supposed to be named "Contex" and not "Context"?
Jeroen Nouws
Greenhorn

Joined: Jul 14, 2011
Posts: 17
oh god i feel stupid right now
but thank you for pointing it out
so this one's for you
 
Have you checked out Aspose?
 
subject: can't login with correct username and password
 
It's not a secret anymore!