Skip to content

Commit

Permalink
[LDAP-42] Pull the special name for any objects into a seperate string (
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylinsic authored Jan 24, 2024
1 parent 9a5d374 commit 7205dcf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public class LdapSchemaMapping {
// XXX should the naming attribute be present in the schema (e.g. "cn" for account)?
// XXX need a method like getAttributesToReturn(String[] wanted);
// XXX need to check that (extended) naming attributes really exist.
public static final ObjectClass ANY_OBJECT_CLASS = new ObjectClass(ObjectClassUtil.createSpecialName("ANY"));
public static final String ANY_OBJECT_NAME = ObjectClassUtil.createSpecialName("ANY");

public static final ObjectClass ANY_OBJECT_CLASS = new ObjectClass(ANY_OBJECT_NAME);

/**
* The LDAP attribute to map to {@link Name} by default.
Expand Down

0 comments on commit 7205dcf

Please sign in to comment.