tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Unit Testing DataSourceRealm
Date Tue, 23 Oct 2007 16:45:52 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin,

Kevin Jackson wrote:
> with the DataSourceRealm, I cannot
> create an InitialContext without either using the tomcat container
> itself (a bit of overkill for a unit test), or using suns fscontext,
> but that doesn't even seem to be available (certainly not via any m2
> repos)

Why not just write your own class that extends InitialContext and does
whatever it wants?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHHiVA9CaO5/Lv0PARAux7AKCX0i6BMNsm4NWv2iYK8ENY3dmncACbB2ba
/Mp4kZ3YV8dHrvxp+lBbMzg=
=Z12J
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message