Forums Register Login

LDAP Search Filter in java

+Pie Number of slices to send: Send
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

Whatever. Here's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


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

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:29:14.