Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual
Page 80
Advertising

-- and jndi-lookup-name refers to the JNDI name to lookup to fetch the
-- designated (in this case the java) object.
-->
<external-jndi-resource jndi-name=
"test/myBean"
jndi-lookup-name=
"cn=myBean"
res-type=
"test.myBean"
factory-class=
"com.sun.jndi.ldap.LdapCtxFactory">
<property name=
"PROVIDER-URL" value="ldap://ldapserver:389/o=myObjects" />
<property name=
"SECURITY_AUTHENTICATION" value="simple" />
<property name=
"SECURITY_PRINCIPAL", value="cn=joeSmith, o=Engineering" />
<property name=
"SECURITY_CREDENTIALS" value="changeit" />
</external-jndi-resource>
</resources>
Using External JNDI Repositories and Resources
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008
80
Advertising