directory « Security « Spring Q&A





1. How do you authenticate against an Active Directory server using Spring Security?    stackoverflow.com

I'm writing a Spring web application that requires users to login. My company has an Active Directory server that I'd like to make use of for this purpose. However, ...

2. Finding out if LDAP user in Sun Directory Server 5.2 is locked out, in Java    stackoverflow.com

I'm developing an application using Java, Tomcat, Spring Framework and Spring LDAP 1.2.1 for LDAP access. According to our LDAP administrator, it is not possible to find out programmatically, if a specific ...

3. Spring security 2.0.5 LDAP authentication setup w/Active Directory    stackoverflow.com

I've been having a hell of a time trying to get LDAP authentication working with this application (apache Roller). It seems like it would just be "populate the right fields ...

4. Is using bindAuthentication with Spring and Active Directory impossible?    stackoverflow.com

I want to authenticate the useres of my webapplication against our internal active directory. I have the applicationContext-security set up as follows:

<beans:beans xmlns="http://www.springframework.org/schema/security"
        xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 ...

5. Spring Security 3.0 and Active Directory LDAP: DOMAIN\user login    stackoverflow.com

I would like to have users authenticate against an ActiveDirectory LDAP server using the DOMAIN\user.name syntax. I think that should be possible with SpringSec 3.0 since the docs mention ...

6. Unit Test in Maven requires access to the src/main/webapp Directory    stackoverflow.com

I am trying to unit test a webapp that I am developing in Maven/Eclipse. It is a Spring MVC webapp, and I need some unit tests to test my model controller. To ...

7. Why does Spring Security's BindAuthenticator require read permissions for users?    stackoverflow.com

I'm currently implementing/configuring the LDAP authentication of a Java web application using Spring Security 3.0. I'm using Microsoft AD LDS as LDAP server and chose the Spring's BindAuthenticator. I found out that ...

8. Spring security LDAP compatible implementations    stackoverflow.com

I've written a web applciation for a client in which authentication/authorization is done by spring security based on the 'internal' database. Now, the client has asked to switch to using their ...

9. Spring Security + Active Directory    stackoverflow.com

I'm a noob in spring world and trying to get spring/AD combo to work. My config is spring 3.0.3 + spring security 3.0.3 + spring ldap 1.3+ tomcat 6.0 I get the ...





10. Spring Security 2.0.6 Authentication with Active Directory     stackoverflow.com

I have tried to put de authentication with Ldap-Active Directory and Spring Security 2.0.6. But I don't know why the authentication don't pass... Here you can see the console:

> INFO  [Server] ...

11. how to add user with password in ldap    stackoverflow.com

hello this is my first time on StackOverflow, I hope I will get some responses here. I am using Windows Active Directory 2008 to store new user from java using the spring-ldap api My ...

12. Spring ldap authentication failed error codes    stackoverflow.com

I'm using Spring LDAP (1.3.1) to talk to ADAM and Active Directory. When I try to authenticate someone using ldapTemplate.authenticate() I get back errors via the error callback, but it gives a ...

13. Spring-Security Spring-LDAP bind with Active Directory using sAMAccountName attribute    stackoverflow.com

I have set up authentication against LDAP/AD and it is working fine. But now I wonder if it is possible to bind against Active Directory using the sAMAccountNAme attribute in the ...

14. How to populate LDAP authorities from Active Directory LDAP using Spring security?    stackoverflow.com

We are using spring security to authenticate users from LDAP in our application. The authentication part is working properly but the authorization part is not working. We are not able to retrieve ...

15. Ability to Modify Active Directory from Java and/or Spring Security on Linux    stackoverflow.com

I've been searching for a while now and while I can find a plethora of information on how to authenticate against an Active Directory server via Java and/or Spring on Linux, ...

16. Configuring Spring Security Ldap 3.0 to work with Active Directory LDS    stackoverflow.com

I am hoping that someone will help me out with a really frustrating problem I have. Currently I am trying to get Spring Security 3.0 Web App to authenticate with an AD ...





17. Spring Security & Active Directory LDAP Error 32 problem 2001 (NO_OBJECT)    stackoverflow.com

I am trying to authenticate a user again AD LDS\ADAM using the Spring framework and Spring Security 3.0. I keep getting the following error and hopefully someone from here can explain ...

19. Spring LDAP/Active Directory Security: Authenticate User w/out Using an Admin Account    forum.springsource.org

Jan 26th, 2011, 09:25 PM #1 gsl1 View Profile View Forum Posts Private Message Junior Member Join Date Jan 2011 Posts 1 Spring LDAP/Active Directory Security: Authenticate User w/out Using an ...

20. Authentication using Active Directory and Spring-Security    forum.springsource.org

Hi! I have some trouble with doing authentication towards AD. I'm not very skilled with either AD or LDAP, so please bear with me. I've got a VERY simple AD configuration ...

21. Active Directory authentication problem.    forum.springsource.org

Active Directory authentication problem. Hi to everybody! I'm trying to authenticate (only this, not authorizations) the user of my application through an Active Directory, but I always obtain that the provided ...

22. Setting session beans after Active Directory authentication & Custom Authorization    forum.springsource.org

Setting session beans after Active Directory authentication & Custom Authorization Hi all, I've an issue integrating Spring-Security inside a legacy web application. Here's my Spring-Security configuration Code:

23. Spring 3.0 Security with Active Directory and Lightweight Directory Services    forum.springsource.org

Hello folks, I am hoping someone can help me out with Spring Security, LDAP, AD and LDS. Being fairly new to Spring and Java this is first time I have tried ...

24. Unable to authenticate against Active Directory    forum.springsource.org

Unable to authenticate against Active Directory I've been playing around for several weeks trying to get Spring Security 3.0.x authenticating against our corporate Active Directory server. The closest I've gotten were ...

25. How to create an acg secure context inside WEB-INF directory    forum.springsource.org

How to create an acg secure context inside WEB-INF directory I've been trying to create an acegi secure context inside my WEB-INF directory, but there, the secure context doesn't work. My ...

26. Syntax for securing one page instead of a whole directory?    forum.springsource.org

Hi, I am trying to use Acegi to add security to an existing web application. I only need to secure a single page in the root directory. I understand the syntax ...

27. LDAP/Active Directory/How Specify User Groups to Search    forum.springsource.org

LDAP/Active Directory/How Specify User Groups to Search Hi, I need to make LDAP work with Active Directory 2000 (or Novell eDirectory is an option too). With regards to Active Directory, I ...

28. loading resource from user home directory    forum.springsource.org

Might want to look at PropertiesPlaceholderConfigurer. I'm not 100% sure if this is possible though, I remember reading about problems with the ordering of events with these things. http://www.springframework.org/docs/...lderconfigurer The PropertyPlaceholderConfigurer ...

29. Acegi LDAP and Microsoft Active Directory?    forum.springsource.org

We are in the design stage of an application using the Spring Framework and are considering Acegi for Security. Does Acegi Security LDAP work with Microsoft Active Directory? -- Dan

30. ACEGI and Active Directory    forum.springsource.org

Is there a way to connect directly from ACEGI to Windows Active Directory? I am talking about a remote connection from an HP_UX server (where the appServer would reside). I have ...

31. Acegi - Active Directory - LDAP problem    forum.springsource.org

May 30th, 2007, 09:09 AM #1 rameshb241 View Profile View Forum Posts Private Message Junior Member Join Date Apr 2007 Posts 5 Acegi - Active Directory - LDAP problem Hi, I ...

32. Authorizing Users In Active Directory    forum.springsource.org

Authorizing Users In Active Directory Hi Guys, I've been using the sample tutorial as a base for my acegi/ldap test rig. I have to say for someone who has very little ...

33. Article - Simplify directory access with Spring LDAP    forum.springsource.org

34. Acegi - Active Directory - LDAP problem with JasperServer    forum.springsource.org

Acegi - Active Directory - LDAP problem with JasperServer I am trying to use ldap with Acegi Security Systems to authenticate against and pick up roles from Active Directory for JasperServer ...

35. Active Directory Auth. using j_username and j_password as managerDN and managerPasswo    forum.springsource.org

Active Directory Auth. using j_username and j_password as managerDN and managerPasswo I am new to java, spring and acegi and have been using the tutorial to get a simple web app ...

36. Active Directory & ACEGI    forum.springsource.org

Active Directory & ACEGI I have a few questions on ACEGI and Active Directory. I am not an expert in AD so please bear with my questions. 1. What is the ...

37. Active directory role membership    forum.springsource.org

Active directory role membership Hi all, I'm having trouble extracting a users role from AD. For the sake of clarity I can do it with a local ldap server but the ...

38. Active Directory group search returns no roles    forum.springsource.org

Active Directory group search returns no roles Hi, Using Spring Security 2.0.0 with Spring 2.5.2 with name space configuration. I was able to authenticate against AD but group search never returns ...

39. How to Authenticate with Active Directory, but authorize using a stored procedure?    forum.springsource.org

How to Authenticate with Active Directory, but authorize using a stored procedure? Here are my requirements - 1.) We want to authenticate using Spring Security against Active Directory so that users ...

40. Active Directory authentication    forum.springsource.org

Active Directory authentication I have a requirement for an internal web application to do login using Windows usernames and passwords (not single sign-on). I am having real trouble doing this and ...

41. Active Directory splitting authorisation from authentication    forum.springsource.org

Jul 15th, 2008, 05:48 PM #1 davidhay View Profile View Forum Posts Private Message Junior Member Join Date Jun 2007 Posts 16 Active Directory splitting authorisation from authentication I'm trying to ...

42. Updating Active Directory with Acegi    forum.springsource.org

Updating Active Directory with Acegi Hi, I am fairly new to Acegi/Spring security so excuse my basic question. I am writing an app that requires a login. The password and username ...

43. Active Directory Authentication    forum.springsource.org

Active Directory Authentication It seems after days of searching through the web that there is no simple way (i.e. using namespace) to implement Spring Security's LDAP Authentication with Active Directory. I ...

44. Active Directory with Local Roles?    forum.springsource.org

Active Directory with Local Roles? Hi all, Here's what I want to do. I want to authenticate a user against our Active Directory, but grant him roles according to my application's ...

45. Problem with JSF (Secured Directory can be accessed via jsf-link any time    forum.springsource.org

Problem with JSF (Secured Directory can be accessed via jsf-link any time Hello, I'm using MyFaces 1.2.4 and Spring Security 2.04 versions and haven't a clue why the filters behave different ...

46. Using Spring Security with Active Directory    forum.springsource.org

Guys, I am looking for a working example that explains the setting up of Spring Security with Active Directory (with JAAS in between). Our app server is JBOSS 5.)X. We are ...

47. JasperReport: Is it possible to access *.japser file outside project directory?    forum.springsource.org

protected JasperReport loadReport() { String url = getUrl(); if (url == null) { return null; } Resource mainReport = getApplicationContext().getResource(url); return loadReport(mainReport); }

48. Access directory: best practice.    forum.springsource.org

Access directory: best practice. Hi at all, i'm developing a simple web app that maintains for each registered user a media library. All media items are stored into db table and ...

49. Spring Security 3.0, (LDAP) Active Directory and Filtering    forum.springsource.org

Aug 27th, 2009, 09:20 PM #1 chrislhardin View Profile View Forum Posts Private Message Junior Member Join Date Aug 2009 Posts 17 Spring Security 3.0, (LDAP) Active Directory and Filtering I've ...

50. Restricting Directory Access    forum.springsource.org

UserA uploads a file (eg. myFiles.zip) The file is extracted to a restricted directory that QualityControl users can access, but no other users can. The files are likely to be several ...

51. Spring security 2.5, Active Directory and filtering.    forum.springsource.org

Spring security 2.5, Active Directory and filtering. These days I tried to spring security with AD. I set searchFilter on "FilterBasedLdapUserSearch" to restrict login user. ( I want to allow login ...

52. Authentication Active Directory    forum.springsource.org

Sep 29th, 2009, 07:46 AM #1 ja.develop View Profile View Forum Posts Private Message Junior Member Join Date Sep 2009 Posts 1 Authentication Active Directory Hi, I have a problem when ...

53. Active Directory Authentication    forum.springsource.org

Hi, Related to the closed thread http://forum.springsource.org/showthread.php?t=59664 What are my options if the Active Directory I need to connect to doesn't "expose" itself as an LDAP directory ? Thanks, EDH

54. Authenticate using active directory    forum.springsource.org

Authenticate using active directory I try to authenticate via an active directory and LDAP. Everything works fine using my local LDAP server, but I keep getting problems using our active directory ...

55. Active Directory Authentication: UserDN?    forum.springsource.org

Active Directory Authentication: UserDN? Using Spring Security 3.0.2 The Reference guide reads: Active Directory Authentication In addition to standard LDAP authentication (binding with a DN), Active Directory has its own non-standard ...

56. Spring Security LDAP Authentication with Active Directory    forum.springsource.org

Spring Security LDAP Authentication with Active Directory I have been struggling for a while now to get Spring Security to talk to my Active Directory. Any help on this would be ...

57. Authenticate and retrieve list of groups for user in Active Directory    forum.springsource.org

Aug 20th, 2010, 11:45 AM #1 mlynch147 View Profile View Forum Posts Private Message Junior Member Join Date Aug 2010 Posts 2 Authenticate and retrieve list of groups for user in ...

58. Retrieving roles in active directory    forum.springsource.org

Retrieving roles in active directory Hey, I can't retrieve roles from AD with spring security 3.0.4. Logs look ok, and if I use filter (member=cn=JOHN DOE - 123456,ou=people,dc=fr,dc=company) in LDAP Browser, ...