ldap 3 « Security « Spring Q&A





1. Checking a user is in the right LDAP group    forum.springsource.org

Checking a user is in the right LDAP group I was wondering if it was possible to use the declarative security tags with Spring MVC to check that a user not ...

2. newbie - LDAP authentication sample    forum.springsource.org

Hi All, I have a need to validate username/password against Active Directory.(LDAP server). I am very new to Spring Security. Could you please provide me links/samples/tutorials for authenticating using LDAP. Regards, ...

3. LDAP User Details Service    forum.springsource.org

LDAP User Details Service Hi, I am trying to use spring security to authenticate with cas then authorise with ldap (as i cant seem to get the saml 1.1 stuff working ...

4. LDAP authentication & user roles    forum.springsource.org

Maybe too much of it... Couldn't see the forrest for the trees.... I'm using the following configuration in my xml now: Code: and the LDAP schema attached. User ...

5. Custom authentication with LDAP and Database    forum.springsource.org

Custom authentication with LDAP and Database Hi, I am using the Acegi-security 1.0.7 with spring framework for my web application. Currently using the DAOAuthentication mechanism to authenticate the users. Now i ...

6. Spring Security 2.0.5 and Spring LDAP version ??    forum.springsource.org

I am migrating from acegi to spring security 2. In the .zip file there are no LDAP examples, as the manual says. There are dependencies for spring security 2.0.5 on spring ...

7. LDAP using AD Password Policy Control    forum.springsource.org

LDAP using AD Password Policy Control I have tried to follow a couple of samples, and this includes Spring Security 3.x, 2.x, and old Acegi, for using the PasswordPolicy Control Aware ...

8. Using roles in LDAP with Spring-WS    forum.springsource.org

Using roles in LDAP with Spring-WS I am trying to use Spring-WS in combination with LDAP authentication in order to block/allow access to web services. So far it is working fine, ...

9. Spring Security and two LDAP server    forum.springsource.org

Spring Security and two LDAP server Dear Community, I want you to help me. I have two LDAP servers. The first server has got an address 10.1.32.1. The second one has ...





10. How to configure embedded LDAP server so roles not uppercased and prefixed by ROLE_    forum.springsource.org

How to configure embedded LDAP server so roles not uppercased and prefixed by ROLE_ I am using the embedded test LDAP server in my web app using spring security 2.0.4. I ...

11. Using digest authentication from remote client with LDAP won't work    forum.springsource.org

I have configured a DigestProcessingFilter to work with a remote client. It connects into my custom digest filter however it appears that when it does the user lookup it expects to ...

12. Using user login to bind to LDAP    forum.springsource.org

Using user login to bind to LDAP Hi, NOTE - I am currently limited to spring security 2.0 I'm relatively new to spring security so apologies if this is an obvious ...

13. [newbie-who-researched] ldap auth using spring-security-2.0.5 and AD    forum.springsource.org

[newbie-who-researched] ldap auth using spring-security-2.0.5 and AD Hi, I'd love to say something like long time reader, first time poster, but the truth is I'm very new to spring security (and ...

14. Group of users with Acegi(1.0.1) + LDAP    forum.springsource.org

Hi, First of all, ich have an LDAP-Server which has 30 users. I have assign them an attribute/objectClass to determine who can use the Spring Framework (JasperServer). Now I don't know ...

15. Best approach 4 dynamic LDAP/Security config?    forum.springsource.org

Best approach 4 dynamic LDAP/Security config? I am working on adding Single Sign On to my Spring 2.5.6 web app, (have 1 production client so far) with Spring Security 2.0.5; this ...

16. Programatically get user's groups from LDAP    forum.springsource.org

Programatically get user's groups from LDAP I have an application using Acegi and LDAP for logins. Now, a specific scenario requires the admin to discover user's LDAP groups at arbitrary point ...





17. LDAP authentication w/database role authorization?    forum.springsource.org

LDAP authentication w/database role authorization? Is it possible (without hackery) to use LDAP to authenticate users but store their roles and account information (for their particular LDAP username) within a database? ...

18. Can't do ldap bind authentication with domain\firstname.lastname    forum.springsource.org

Mar 23rd, 2010, 06:13 PM #1 djKianoosh View Profile View Forum Posts Private Message Member Join Date Jul 2008 Location Washington DC Posts 65 Can't do ldap bind authentication with domain\firstname.lastname ...

19. Default ldap-authentication-provider with no group mapping - tell if authenticated?    forum.springsource.org

Default ldap-authentication-provider with no group mapping - tell if authenticated? I have an application that is using the default ldap-authentication-provider, but does not provide any group mapping (i only care about ...

20. multiple ldap-authentication-providers    forum.springsource.org

multiple ldap-authentication-providers I have a sandbox application that I once had working using a dao authentication provider. I'm trying to get it working using an ldap-authentication-provider. We use Lotus Domino servers ...

21. LDAP authentication with AD fails on bind - error data 525 user not found    forum.springsource.org

public void createSecureContext(final String username, final String password) { UsernamePasswordAuthenticationToken usernamePasswordAuthenticationToken = new UsernamePasswordAuthenticationToken( username, password); authentication = authenticationProvider.authenticate(usernamePasswordAuthenticationToken); SecurityContextHolder.getContext().setAuthentication(authentication); }

22. Spring ACEGI Ldap Query    forum.springsource.org

Spring ACEGI Ldap Query Hello, We use org.acegisecurity.providers.ldap.LdapAuthenticatio nProvider and org.acegisecurity.providers.ldap.authenticator.Bin dAuthenticator to authenticate a user against iSeries LDAP. Few queries - 1. In the api's/classes we use there is no ...

23. ldap authentication role search binding problem.    forum.springsource.org

Hi, I have configured spring security 3 for ldap authentication, but I have a problem when it tries to look for the user groups, i get a binding error. It works ...

24. Where are this classes on the new Spring Security LDAP    forum.springsource.org

Hey guys, I'm trying to use the new spring security with LDAP, I just get the configuration from spring docs, and I get some "class not found" erros with these classes: ...

25. Issue on LDAP Authentication with Spring Security 3.0. Pls help.    forum.springsource.org

Issue on LDAP Authentication with Spring Security 3.0. Pls help. I've pasted my applicationContext-security.xml below. Am I missing any other configuration? Need your help.

26. Spring Rich Client + LDAP authentication and authorization    forum.springsource.org

Spring Rich Client + LDAP authentication and authorization Hi every one.. I'm trying to use the petclinic sample of the rich client with LDAP. I'm using the spring-security-ldap release 3.0.2. I've ...

27. LDAP authentication taking 20 - 30 secs    forum.springsource.org

LDAP authentication taking 20 - 30 secs Hi everyone, I'm having a bit of difficulty wrapping my head around this one and was hoping someone could point out anything I was ...

28. Obtaining extra user information when authenticating with LDAP    forum.springsource.org

Hey guys! I'm using the standard ldap auth provider and was wondering if it's possible to get extra information back on the initial call beyond the dn? I'd like to fill ...

29. Spring security ldap    forum.springsource.org

Spring security ldap Hello, My goal is to recupere the compet dn of my user . Can I get the dn details when configuring ApplicationContext-security and what the attribute that i ...

30. Issue with security ldap-user-service    forum.springsource.org

Issue with security ldap-user-service I'm using Spring Security 3.0 with CAS. I'm having an issue when trying to configure the ldap-user-service. Using the following config works fine. Code:

31. Spring Security 3 - org.springframework.ldap.core.support.BaseLdapPath ContextSource ?    forum.springsource.org

Putting the classname in Google is usually a good starting point. Either that or examine the dependency jars from the appropriate sample app (LDAP in this case) and use them as ...

32. LDAP + DAO authentication problem    forum.springsource.org

Aug 24th, 2010, 04:41 AM #1 aukebefo View Profile View Forum Posts Private Message Junior Member Join Date Aug 2010 Posts 9 LDAP + DAO authentication problem I am using spring ...

33. Spring Security : LDAP truststore, keystore    forum.springsource.org

Spring Security : LDAP truststore, keystore Ok, how do I enable or plugin truststore and truststorepassword for LDAP authentication mechanism using spring security framework i.e. where do I configure these parameters, ...

34. LDAP Authentication with DataSource Authorization    forum.springsource.org

LDAP Authentication with DataSource Authorization I am new to Spring Security. I am developing an application that uses ActiveDirectory for authentication and Database tables for authorization. The database tables [users, authorities] ...

35. ldap-authentication-provider caching?    forum.springsource.org

ldap-authentication-provider caching? Hello I have a performance problem using Code:

36. ldap-authentication-provider and ServletContextPropertyPlaceholderConfigurer: braces    forum.springsource.org

ldap-authentication-provider and ServletContextPropertyPlaceholderConfigurer: braces Hello. I am using ServletContextPropertyPlaceholderConfigurer. It imports my context params as variables, so I can use ${varName} anywhere in my code. But now I am using ldap-authentication-provider, ...

37. Spring Security + LDAP (newbie)    forum.springsource.org

Spring Security + LDAP (newbie) Good Morning, I starting with S.S. and I want to make an authentication via LDAP but I doesn't work. I work with OpenLdap and I just ...

39. Ldap Authentication using windows domain account    forum.springsource.org

Ldap Authentication using windows domain account Hello, I am able to authenticate against Active Directory with a Windows domain account by doing the following: Code: Hashtable env= new Hashtable(); env.put(Context.SECURITY_AUTHENTICATION,"simple"); env.put(Context.SECURITY_PRINCIPAL, ...

40. Writing User Details incl password in LDAP    forum.springsource.org

Writing User Details incl password in LDAP Greetings: I have been spending a bit of time trying to figure out how to support letting users change their own details (including password) ...

41. DefaultLdapAuthoritiesPopulator convertToUpperCase using security:ldap-user-service    forum.springsource.org

Hello, I'm using in Spring Security 3 as a UserDetailsService object to populate the user's authorities from and LDAP server. As I understand it this creates a FilterBasedLdapUserSearch and DefaultLdapAuthoritiesPopulator. ...

42. Possible to map users using a filter across two attributes in LDAP?    forum.springsource.org

Possible to map users using a filter across two attributes in LDAP? Hello, We have a situation with spring security that we can't see the resolution path for... Using SSO the ...

43. Authentication with LDAP or POP3?    forum.springsource.org

Authentication with LDAP or POP3? Hi, I was wondering if it is possible to do the verification of provided username and password using LDAP (Active Directory) or POP3 server to avoid ...

44. Spring Security + LDAP    forum.springsource.org

45. LDAP authentication: works running inside eclipse but not as war in tomcat    forum.springsource.org

LDAP authentication: works running inside eclipse but not as war in tomcat Hello. As described in the topic title, I configured a spring security authentication based on an LDAP server. I'm ...

46. LDAP Authentication Issue    forum.springsource.org

LDAP Authentication Issue Hi, I am using Spring 3 Security and using its namespace. The configuration looks like ...

47. LDAP w/ SSL hangs on slow connection    forum.springsource.org

LDAP w/ SSL hangs on slow connection We are using Acegi Security to connect to a LDAP server for our application. Recently, the LDAP server was overloaded, and I expected the ...