Ldap « Database « Spring Q&A





1. Spring LdapTemplate Connection reset after an undetermined period of time    stackoverflow.com

On one of my applications we use Spring LdapTemplate to query and add entries to our LdapService. We were querying one service fine, but had a need to make another ...

2. Spring ldap: creating connection    stackoverflow.com

The following is my code:

private DirContext createContext() {

    Hashtable env = new Hashtable();

    env.put(Context.INITIAL_CONTEXT_FACTORY, "org.springframework.ldap.core.support.LdapContextSource");
    env.put(Context.PROVIDER_URL, "ldap://FAKESERV.fakedom:389/");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
 ...

3. Mixing Ldap and Jdbc Authorities    forum.springsource.org

Hi, based on an ldap user attribute I have to populate the GrantedAuthorities from a database table. It seem overriding DefaultLdapAuthoritiesPopulator#getGrantedAuthorit ies is the way to go. Am I right? If ...

4. Several sources of authetication LDAP + jdbc    forum.springsource.org

Several sources of authetication LDAP + jdbc Hi, Is it possible to have different sources of authentication in acegi at the same time? We have two main group of users, one ...

5. Ldap connection    forum.springsource.org

Ldap connection hi, i use Acegi with Ldap (Active Directory) and this is my problem : i can't access to my Ldap. Code: [org.acegisecurity.providers.ldap.authenticator.BindAuthenticator.handleBindException(BindAuthenticator.java:108)] - Failed to bind as CN=fisrstname lastname,DC=orascomtunisie,DC=com: ...

6. LDAP/AD connections issues (LdapDataAccessException)    forum.springsource.org

LDAP/AD connections issues (LdapDataAccessException) Currently having random problems with authenticating against LDAP/AD and it is driving us mad around here. The error I get is: org.acegisecurity.ldap.LdapDataAccessException: Unable to connect to LDAP ...

7. LDAP query multiple OU's    forum.springsource.org

LDAP query multiple OU's I've configured an LDAP user search in the spring security context, but I'm getting Connection Timeouts (PartialResultException, ConnectException: timed out) when querying in the ROOT. When I ...

8. Connection refused when connecting to embedded LDAP    forum.springsource.org

Connection refused when connecting to embedded LDAP Hi, I am new to Spring security and I am trying to get the embedded LDAP server running within a deployed application on OC4J. ...

9. Reading from LDAP and writing to a DB    forum.springsource.org

Hi, I am new to Spring Batch, Please let me know if we can use Spring Batch to read from LDAP and write to a DB. Thank you.





10. Connection refused from embedded LDAP    forum.springsource.org

Connection refused from embedded LDAP Hi I'm trying to use the embedded LDAP server for testing as suggested; this is in a console app, not web, to make things simpler for ...