This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes LDAP Search Filter in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "LDAP Search Filter in java" Watch "LDAP Search Filter in java" New topic
Author

LDAP Search Filter in java

kamabotti khan
Greenhorn

Joined: Jul 13, 2010
Posts: 22
Hi

I want to reterive a attribute name unique member whose value is only numeric

I am using LDAP search filter to reterive it



In the above code I get the all groups whose name is xyz which has an attribute uniqueMember but I want only those groups which has uniqueMember attribute whose value is only numeric

For ex in ldap structure I have like this


Attribute Name Value
1.uniqueMember uid=18761,ou=people,o=xxx,c=US
2.uniqueMember uid=gsa,ou=people,o=xxx,c=us


So i want to get only Number 2 in my value whose value uid=is number but not uid=gsa which start with letters ,

I added a filter like this but didnot work

 
 
subject: LDAP Search Filter in java
 
Similar Threads
How to configure Tomcat for authentication against Active Directory of Windows Server 2003
Configuring the application policy in login-config.xml for LDAP Apache DS
ApacheDS 1.0.2 LDAP java.net.ConnectException: Connection timed out: connect
JBOSS LdapLoginModule authentication. Help needed for code to use LoginContext
LDAP Integration with JBoss