Próbuję pobrać wewnętrzne atrybuty LDAP użytkownika, ale nie mógł znaleźć sposobu, aby przynieść imPierwsze wewnętrzne Atrybuty obiektu LDAP
DirContext ctx = this.getDirContext();
List<Employee> list = new ArrayList<Employee>();
NamingEnumeration<SearchResult> results = null;
try {
SearchControls controls = new SearchControls();
controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
results = ctx.search("", "(objectclass=person)", controls);
while (results.hasMore()) {
SearchResult searchResult = results.next();
Attributes attributes = searchResult.getAttributes();
String fullName = this.getValue(attributes.get("cn"));
//so on...
}
// so on
z LDAP, chcę sprowadzić wewnętrzne atrybuty każdy pracownik/osoba też. domyślnie nie jest powrocie wewnętrzne atrybuty [ex: createTimestamp]
Dzięki, rozwiązałem mój problem – Reddy