beautypg.com

Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 80

background image

-- and jndi-lookup-name refers to the JNDI name to lookup to fetch the

-- designated (in this case the java) object.

-->

"test/myBean"

jndi-lookup-name=

"cn=myBean"

res-type=

"test.myBean"

factory-class=

"com.sun.jndi.ldap.LdapCtxFactory">

"PROVIDER-URL" value="ldap://ldapserver:389/o=myObjects" />

"SECURITY_AUTHENTICATION" value="simple" />

"SECURITY_PRINCIPAL", value="cn=joeSmith, o=Engineering" />

"SECURITY_CREDENTIALS" value="changeit" />

Using External JNDI Repositories and Resources

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

80