jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes Realm, Eclipse and MySQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Realm, Eclipse and MySQL" Watch "Realm, Eclipse and MySQL" New topic

Realm, Eclipse and MySQL

Lenny Peter
Ranch Hand

Joined: Apr 22, 2008
Posts: 52
Can anyone see what is wrong here ...




Server XML

MySql DB ida

Table1: roles: rolename (student)
Table2: user: username (alen), password(esbjerg)
Table3: userrole: username(alen), rolename(student)


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60049

Can anyone see what is wrong here

Yes, you didn't tell us what the problem is.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lenny Peter
Ranch Hand

Joined: Apr 22, 2008
Posts: 52
I cannot log in...something is wrong...username or password or codes?

What can I add to my codes to get print out errors in Console?

It should be hidden or not?
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"

I agree. Here's the link: http://aspose.com/file-tools
subject: Realm, Eclipse and MySQL
Similar Threads
Unable to access the servlet even on entering username/password set in tomcat-users.xml
Problem with enforcing security in web-app
Having problem when using web.xml to provide login system to user.
HTTP Status 403 Access to the requested resource has been denied
configuration webapp with authentication