On 26/11/2014 16:23, Christopher Schultz wrote:

<snip/>

> I'm not sure, but I would guess you can't define a Realm in server.xml
> and use a DataSource defined in context.xml. If the Realm is in
> server.xml, then you should be able to grab the globally-accessible
> DataSources by using their existing (global) names.

You guess wrong.

Look at the localDataSource attribute for the DataSourceRealm.

If you (or the OP) then look in the source code for where that attribute
is used, you'll see how the Realm switches between global and local
DataSources.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to