Rida,
Looks like you've got everything configured correctly. The first thing I would do is download something like 'Ldap Browser' and see if you can connect to it using the parameters in your...
Type: Posts; User: brianbeech; Keyword(s):
Rida,
Looks like you've got everything configured correctly. The first thing I would do is download something like 'Ldap Browser' and see if you can connect to it using the parameters in your...
Thanks to all - I hadn't tried a relative path when I was specifying the baseDN in the Context.
I appreciate all the help!
Not really what I'm looking for. They're trying to bind to different DN's based on what environment they are in. I'm looking to search different OU's in the same baseDN based on some condition. For...
It appears that if you set up your LdapContextSource with a BaseDN property value, the LdapTemplate.search() method is unable to search anywhere but that BaseDN.
Non-Working:
<bean...
I'm debugging through the code below to see if I can search two different ou's based on a condition. I was under the assumption that I could specify the BaseName and that would tell where I wanted...
I agree with djeanprost, this really is an unacceptable work around.
Say there is an LDAP search limit of 500 and I'm trying to get all the user's in my LDAP. Even if I do a loop and search...
How do I get all results from AD - it is limiting my results to 1000 and then I get a sizeLimit error.
Is there an easy way (configuration) to tell it that I want to loop through and parse the...
Just so I'm clear:
I want the object to have the properties updated with the setter methods when the properties file has been updated.
Any suggestions would be very helpful.
"I've made them MBeans and can do it from JConsole, but I'd really like to have it done when the Admins change the properties file." - Since the post you gave me didn't answer my question, I'm...
I have a bean that has some properties whose values are set with the PropertyPlaceholderConfigurer.
I'd like to be able to change the file values and have the beans automatically updated without...
session.save(soldier);
address.setSoldierId(soldier.getSoldierId());
session.save(address);
I've gone as far as saving the soldier, setting the ID in the Address and...
Just to make sure I'm clear on what you mean. Are you telling me there is not a way to take an object as Soldier which has a property, a set of Addresses ,and persist that Soldier object into two...
The code below translates my Struts form bean (regForm) to two objects, Address and Soldier. Then calls the addPerson() dao method.
Soldier newSoldier = new...
Sorry, must've copied the wrong version, this one does not work either and it has the column attribute.
<hibernate-mapping>
<class name="com.ourdomain.user.Soldier" table="USERNAME">
...
I've changed my mapping to the following, but I think I'm still missing something. I'm getting an error which I've included below the mapping file. If you have any suggestions, they surely would...
Data Model:
----SOLDIER----
soldierId pk
-----ADDRESS-----
addressId pk
soldierId fk
A soldier can have one-to-many addresses. I'm trying to insert a soldier that has a collection of...