It's not a secret anymore!
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 19750
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can't login with correct username and password
 
jQuery in Action, 3rd edition