mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
22.32.2012 defd1d1e034274940750de6da52a74656a9a9fdd
Exclude core attributes from attribute mapper.
1 files modified
2 ■■■ changed files
opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Example.java 2 ●●● patch | view | raw | blame | history
opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Example.java
@@ -134,7 +134,7 @@
        Map<String, Object> props = new HashMap<String, Object>();
        props.put(PATH_PROPERTY, "");
        AttributeMapper mapper = new IdentityAttributeMapper();
        AttributeMapper mapper = new IdentityAttributeMapper().excludeAttribute("entryUUID", "etag");
        ConnectionFactory factory =
                Connections.newAuthenticatedConnectionFactory(new LDAPConnectionFactory(
                        "localhost", 1389), Requests.newSimpleBindRequest("cn=directory manager",