I appreciate the help.
But what I had in mind was, Spring-LDAP usually throws a org.springframework.ldap.NamingException for any type of error that occured. I want to know the actual cause of...
Type: Posts; User: Aditi; Keyword(s):
I appreciate the help.
But what I had in mind was, Spring-LDAP usually throws a org.springframework.ldap.NamingException for any type of error that occured. I want to know the actual cause of...
I have following piece of code in the DAO class:
try{
contact= ldapTemplate.lookup(new DistinguishedName(dN),new ContactContextMapper());
}
catch(Exception e)
{
...
Why don't you extract it as a byte[] and convert it into String using toString() method?
I tried the code for Active Directory and it doesn't work.
When I try to register the listener it gives me javax.naming.OperationNotSupportedException.
The exact error is
LDAP: error code 12 -...
I googled for persistent search and that is exactly my requirement...
Correct me if I am wrong, but I don't believe Active Directory supports it. Any workaround?
Thanks,
Looks like there is no other way.
I would like to synchronize my relational database with LDAP directory.
I know LDAP doesn't support triggers, but how do I know that a change has occured in LDAP...
I want to import data from LDAP to a relational database.
Does Spring-LDAP provide any support for this?
Thanks,
Sorry I dont have access to Oracle LDAP directory but if it is an Octet String type then I cant fathom the problem. I have worked on fetching X509certificates from Active Directory and I was able to...
Why don't you convert the String to byte[] ?
If the attributes to be fetched are only available at runtime, is it possible to use ContextMapper for such type of operation.I believe DirContextAdapter context object will contain all the...
Ok.Great.I am looking at the trunk now.
Thanks.I tried it, it worked.I should have figured that out.
Currently I will stick to AttributesMapper.I think it will cater to my needs.
Ok.Thanks!
Looking forward for 1.3 release!:) As a workaround I am working with AttributesMapper for now. Any cons working with AttributesMapper instead of ContextMapper? Thanks ulsa for the quick response.
I am using Spring LDAP (Version 1.2.1) and want to fetch multi-valued attributes.So according to the reference I am trying to use getObjectAttributes() of DirContextAdapter, but I could not find the...
How should I fetch binary multivalued attributes? I could find method for fetching text attribute.
Isn't there a method which is equivalent to getStringAttributes() for binary attributes as well? :( How should I get binary multivalued attribute?
Hi,
I am new to Spring as well as LDAP.
I want to retrieve cetificates from Active Directory. For this I am using a ContextMapper which maps the attributes from AD to my bean. For retrieving...
Can anybody provide a pointer for configuring Spring with OpenMQ? I am using Glassfish with OpenMQ.All the examples that I have come across use ActiveMQ.
Thanks,
Aditi