wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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
 
Similar Threads
action="j_security_check"
Tomcat BASIC Authentication Problem.
web.xml security constraint won't work with roles
Cannot Connect to database using datasource realm
security constraint