public final class LdapUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
closeContext(DirContext context)
Close the given context and ignore any thrown exception.
|
static String |
getFilterWithValues(String filter,
String userName)
Utility method to replace the placeholders in the filter with the proper
values from the userName.
|
public static String getFilterWithValues(String filter, String userName)
filter - userName - public static void closeContext(DirContext context)
context - the Ldap context to closeCopyright © 2004-2012 Jasig. All Rights Reserved.