Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,567

    Hi Qiulu, Did you sort this? I'd be interested...

    Hi Qiulu,
    Did you sort this? I'd be interested in your implementation. I'm still finishing mine.

    Cheers
    Glenn
  2. Cheers 'stevedick' for the heads up on the quick...

    Cheers 'stevedick' for the heads up on the quick fix; removing the import for org.springframework.orm.jpa.support solved my problem.
    I'll revert once we bring Eclipse 3.5 onboard
  3. Storing database credentials for RCP application

    Hi all,
    I'm developing an Eclipse RCP application that uses five separate databases & ldap. It'll be deployed via WebStart into our internal network from an instance of WebSphere. The problem is...
  4. Replies
    0
    Views
    566

    Idea for new JdbcTemplate method

    Hi,

    I'm a fan of the JdbcTemplate, but there is one helper method I've needed that I've had to code into an extension of it. I think it would be a good candidate for inclusion.

    It's a cross...
  5. Replies
    9
    Views
    1,915

    Final code

    Thanks very much for your help gents.

    I thought I'd post the final code for anyone who need it. If you don't want to worry about the potential cyclic recursions, the code can become a lot more...
  6. Replies
    9
    Views
    1,915

    Unfortunately the implementation of AD here isn't...

    Unfortunately the implementation of AD here isn't well unorganised. dn isn't implemented, so lookup doesn't work.
    distinguishedName is a common property that exists in all entries.

    I found what...
  7. Replies
    9
    Views
    1,915

    Cheers for the heads up on the...

    Cheers for the heads up on the ldapTemplate.lookup(...). I'll check it out.
  8. Replies
    9
    Views
    1,915

    Full code

    I slightly simplified the code that I originally posted, as the actual code is limiting how many levels to traverse (to avoid potential cyclic recursions).

    Here's the full code:




    class...
  9. Replies
    9
    Views
    1,915

    Interesting LdapTemplate search result

    Hi all,
    I'm getting a strange result from the following code:



    List<UserRole> results = getLdapTemplate().search("", new EqualsFilter("distinguishedName", distinguishedName).encode(),
    ...
  10. Replies
    24
    Views
    9,223

    I realise that this thread is old, but I thought...

    I realise that this thread is old, but I thought I'd share a project I found for Eclipse RCP Spring integration: https://sourceforge.net/projects/eclipse-spring/

    I have yet to implement it - just...
  11. Replies
    2
    Views
    10,595

    Solved!

    Hi all,
    I figure out what the problem was:

    The contextScope.base was in the incorrect order.
    I had set to "DC=nz,DC=co,DC=company" should have been "DC=company,DC=co,DC=nz".

    Happy happy...
  12. Replies
    2
    Views
    10,595

    Context.REFERRAL search problem

    Hi all,

    I was having a problem connecting to the source, but I solved that by adding Context.REFERRAL = 'follow' to the baseEnvironmentProperties.
    But now when I do a search, I'm getting a...
  13. Replies
    2
    Views
    2,248

    Good as. Cheers for that.

    Good as. Cheers for that.
  14. Replies
    2
    Views
    2,248

    spring form tag: EL if question

    Hi all,

    I'm trying to set the cssClass depending on the value of a boolean variable using JSP 2.0 EL.

    'directDebitEnabled' is a boolean. when it is false I want the class to be 'disabled'.
    ...
  15. Replies
    7
    Views
    5,441

    By username I mean the windows signon credentials...

    By username I mean the windows signon credentials ie "doe_j" - not John Doe. Once I get "doe_j", I can query Active Directory & relevant details I need - primarily security roles.

    I have found...
  16. Replies
    7
    Views
    5,441

    Windows/NT/AD Username

    Hi all,
    I'm trying to access the windows username for use with Spring LDAP.
    Does anyone know how to achieve this?

    Any help would be much appreciated.
    Cheers
    Glenn
  17. Replies
    9
    Views
    8,820

    I'm not sure if it will work via WS, but you can...

    I'm not sure if it will work via WS, but you can try Apache Betwixt (http://jakarta.apache.org/commons/betwixt/). This will makes easy work of transforming pojo's to xml.
Results 1 to 17 of 18