|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.util.LdapUtils
public final class LdapUtils
Utilities related to LDAP functions.
| Method Summary | |
|---|---|
static void |
closeContext(javax.naming.directory.DirContext context)
Close the given context and ignore any thrown exception. |
static java.lang.String |
getFilterWithValues(java.lang.String filter,
java.lang.String userName)
Utility method to replace the placeholders in the filter with the proper values from the userName. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getFilterWithValues(java.lang.String filter,
java.lang.String userName)
filter - userName -
public static void closeContext(javax.naming.directory.DirContext context)
context - the Ldap context to close
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||