-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tremal,
Tremal Naik wrote: > 2007/2/28, Christopher Schultz <[EMAIL PROTECTED]>: >> Well, what /do/ you have available? > > May any of the following be useful? > > Server server = ServerFactory.getServer(); > Service service = server.findService("Catalina"); > Engine engine = (Engine) service.getContainer(); > Host host = (Host) engine.findChild(engine.getDefaultHost()); > String lcName = "myContext"; > Context context = (Context) host.findChild(lcName); > Realm realm = context.getRealm(); Nope. All of this is generic server stuff. There's nothing specific to the request a anywhere here. How is it that you have code that needs request-specific information, but no access to the request? Are you forced into this situation by other components (through a callback mechanism or something like that)? Or, is this the result of poor planning? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF5bQY9CaO5/Lv0PARAiRUAKCQMCgt884O/KqBXbIkJv5BoLSQEgCcDR0b XwJCubKnXB7b/LT9iDK8rVg= =ikHQ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]