aspose file tools
The moose likes Java in General and the fly likes LDAP Search Filter in java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply 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

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: LDAP Search Filter in java
 
Similar Threads
JBOSS LdapLoginModule authentication. Help needed for code to use LoginContext
LDAP Integration with JBoss
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