Description
A common use of JNDI is to perform authentication against an LDAP registry of users. This typically works by going new InitialDirContext(props) where the props contains a userid/password. This requires the AuthenticationException to be thrown from the InitialDirContext constructor. When used with the default JNDI implementation what actually happens is you get a NoInitialContextException because the creation of the Context fails and if the ICF was created from an ICFB then the exception is swallowed rather than rethrown.
Alasdair