-- 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
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...