Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No Realm has been configured to authenticate against

 
malek aftab
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
When I setup jdbc realm to user database as my realm, the server message "No Realm has been configured to authenticate against".
but all of my settings are correct.

Regards,
Malek Aftab
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is your realm set up? Post the changes you made to server.xml so we can take a look.
 
malek aftab
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I used both memory realm, and JDBCRealm such this
memory realm:
<Realm className="org.apache.catalina.realm.MemoryRealm" />
 
malek aftab
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I used both memory realm, and JDBCRealm such this
memory realm:
<Realm className="org.apache.catalina.realm.MemoryRealm" />

and JDBCRealm such this

<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc dbc:websecure?user=;password="
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name"/>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic