InitialContextFactory that will bootstrap embedded jboss.
If Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS are set,
this InitialContextFactory implementation combines the
authentication phase with the InitialContext creation. During the
getInitialContext callback from the JNDI naming, layer security context
identity is populated with the username obtained from the
Context.SECURITY_PRINCIPAL env property and the credentials from the
Context.SECURITY_CREDENTIALS env property. There is no actual authentication
of this information. It is merely made available to the jboss transport
layer for incorporation into subsequent invocations. Authentication and
authorization will occur on the server.
If Context.SECURITY_PROTOCOL is provided as well as the principal and credentials,
then a JAAS login will be performed instead using the security domain provided with the
- Bill Burke
- $Revision: 1.1 $
if (bootstrapResourcePath != null)