I try to create a custom-resource to be able to connect to a LDAP.
In GF22.214.171.124 Web admin, I create a custom-resource called jndi/ldap
I add the following properties:
then in my managedBean, i do the following:
i have a method that connects to the ldap. I first create the DirContext
Context initCtx = new InitialContext();
DirContext ctx = (DirContext) initCtx.lookup("jndi/ldap");
When I debug, I see that theenvProp of ctx only contains the URL property all others are not loaded.
Do I miss someting ?
Thanks for your help.