Skip to content

Commit ceab064

Browse files
committed
Add LdapClient
Closes gh-675
1 parent 092b22c commit ceab064

19 files changed

+3581
-7
lines changed

core/src/main/java/org/springframework/ldap/core/ContextMapper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ public interface ContextMapper<T> {
6464
* @throws NamingException if an error occurs.
6565
*/
6666
T mapFromContext(Object ctx) throws NamingException;
67+
68+
ContextMapper<DirContextOperations> DEFAULT = (ctx) -> (DirContextOperations) ctx;
6769
}

0 commit comments

Comments
 (0)