Hi,I would Iike to know how I could get attributes from an objectclass from Oracle Internet Directory.
For example : cn=Users has some objectclass attributes{top,abstract} and I want to find how I can extract specific attributes for these two objecclass.
I tryed to use DirContext personSchema = (DirContext) contextUser.getReadWriteContext().getSchemaClassDe finition(""); where contextSource is defined as LdapContextSource dirctx=new LdapContextSource();
dirctx.setBase("cn=Users,dc=virtual7,dc=local");
dirctx.setUserName("cn=xxxxxx");
dirctx.setPassword("xxxxxx");
dirctx.setUrl("ldap://myadress.local:389");
dirctx.afterPropertiesSet();
contextUser = dirctx;;
but it doesn't work


Reply With Quote