Results 1 to 2 of 2

Thread: Preventing LDAP Injection

  1. #1
    Join Date
    Sep 2006
    Posts
    2

    Default Preventing LDAP Injection

    Is there an easy way to escape strings used for Ldap operations here in Spring-LDAP?

    ref: http://www.owasp.org/index.php/Preve...ection_in_Java

  2. #2
    Join Date
    Mar 2005
    Location
    Landskrona, Sweden
    Posts
    505

    Default

    If you use the DistinguishedName and Filter classes, values will be properly encoded, which should prevent injection issues.
    Mattias Arthursson
    Jayway AB (www.jayway.se)
    Spring-LDAP project member

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •