-
Aug 10th, 2007, 09:02 AM
#1
How to judge one DN is exists use springldap?
How to judge one DN is exists in the ldap use springldap?
when a DN is not exists in ldap springldap will throws the exceptions(i can't catch it),if i want to get the result(exists or not) how to do it?
-
Aug 10th, 2007, 10:51 AM
#2
Why can't you catch it? That would be my suggestion to begin with.
Otherwise, I suppose you can use ldapTemplate.search() to find the DN. If it comes back with an empty list, return false.
-
Aug 10th, 2007, 11:24 AM
#3
thanks for your help, u are right, i can catch the exception. i made some mistake.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules