We don't support passing login information via the InitialContex simply because it is not as flexible as using JAAS. If that is what you want to do it is a simple matter to write an InitialContextFactory wrapper that delegates the authentication to JAAS and then invokes the JBossNS InitialContextFactory .
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 09, 2002 2:01 PM Subject: Re: [JBoss-user] Passing principal and credentials through jndi properties > AFAIK all jboss versions do accept properties in new InitialContext calls, > however this is rarely the best way to specify what you are connecting to. > If you supply a jndi.properties file in an appropriate place you can change > what you are connecting to without changing your source code. (for > instance moving from tomcat + jboss on same machine but not integrated to > tomcat + jboss on different machines). > > david jencks > > On 2002.04.09 16:28:29 -0400 Emerson Cargnin - MSA wrote: > > Why Jboss don't accepts jndi properties being passed though initial > > contexts > > (as all other containers?). > > At least this was the behaviour in the 2.4.4 version (for which I bought > > the > > manual). _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
