tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Sushkin <>
Subject RE: DataSource realm, apply fix for 16316 bug, still not working ?
Date Tue, 17 Jun 2003 22:33:18 GMT
You need to configure the datasource you're using for authentication 
in GlobalNamingResources section of server.xml, not in your application context.

-----Original Message-----
Basicaly my own Realm implementation is copy/paste DataSourceRealm, I
just changed preparedRoles and preparedCredentials in start() and also
modified hasRole(Principal principal, String role) for my needs, but
exception that I get is when opening DataSource which is defined in
Context, it seemes that Context is not started yet when opening DB
connection from Realm ?

Nicholas Sushkin

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message