Usage of JNDI Util Method
Has anybody used JNDI method.
I am trying to retrieve an attribute from LDAP for a UID. For that I tried creating get connection first. My understanding was to use get value or search next to give the filter and retrieve the attriute value. But I am getting error that -
ERROR:XPRESS exception ==> com.waveset.util.WavesetException: Couldn't find method getConnection(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) in class com.waveset.util.JndiUtil ==> java.lang.NoSuchMethodException: com.waveset.util.JndiUtil.getConnection(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
Am I missing something? I couldn't find anything like example anywhere on how to acheive this. If anybody has used that, can you provide me example on how to do this or what am I missing in below code.
<block>
<invoke name='getConnection' class='com.waveset.util.JndiUtil'>
<s>hostldap: java.lang.String></s>
<s>389: java.lang.String</s>
<s>'ou=people,o=xxx.com' java.lang.String</s>
<s>'uid=idmuser,o=xxx.com'</s>
<s>password</s>
</invoke>
</block>

