Search:

Type: Posts; User: brianbeech; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    2,335

    Rida, Looks like you've got everything...

    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...
  2. Replies
    7
    Views
    2,835

    Thanks

    Thanks to all - I hadn't tried a relative path when I was specifying the baseDN in the Context.

    I appreciate all the help!
  3. Replies
    7
    Views
    2,835

    Thanks anyway

    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...
  4. Replies
    7
    Views
    2,835

    Solved

    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...
  5. Replies
    7
    Views
    2,835

    what is BaseName in LdapTemplate search

    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...
  6. I agree with djeanprost, this really is an...

    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...
  7. Replies
    9
    Views
    2,335

    Help with AD 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...
  8. Replies
    3
    Views
    1,077

    Just so I'm clear: I want the object to have...

    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.
  9. Replies
    3
    Views
    1,077

    "I've made them MBeans and can do it from...

    "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...
  10. Replies
    3
    Views
    1,077

    Dynamic Bean Properties

    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...
  11. Replies
    11
    Views
    3,265

    session.save(soldier); ...

    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...
  12. Replies
    11
    Views
    3,265

    Just to make sure I'm clear on what you mean. ...

    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...
  13. Replies
    11
    Views
    3,265

    The code below translates my Struts form bean...

    The code below translates my Struts form bean (regForm) to two objects, Address and Soldier. Then calls the addPerson() dao method.


    Soldier newSoldier = new...
  14. Replies
    11
    Views
    3,265

    Sorry, must've copied the wrong version, this one...

    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">
    ...
  15. Replies
    11
    Views
    3,265

    I've changed my mapping to the following, but I...

    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...
  16. Replies
    11
    Views
    3,265

    Foreign Key not being populated

    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...
Results 1 to 16 of 16