ldap 2 « Security « Spring Q&A





1. Authorization with implicit groups in LDAP    forum.springsource.org

Authorization with implicit groups in LDAP In a project we are refactoring out authorization code from our services, and are now using Acegi. Everything seems to work well, except for one ...

2. Basic authentication + LDAP problem    forum.springsource.org

Sep 3rd, 2006, 07:49 PM #1 tihari View Profile View Forum Posts Private Message Junior Member Join Date Feb 2006 Location Sydney Posts 8 Basic authentication + LDAP problem Folks I ...

3. Acegi LDAP Sample Application    forum.springsource.org

I took the acegi-security-sample-contacts-filter.war but it doesn't contain anything about LDAP. I require sample configuration(along with beans) for Using acegi with LDAP server. Thanks in advance

4. Problems with LDAP auth and Database roles    forum.springsource.org

Sep 8th, 2006, 07:09 PM #1 fragus View Profile View Forum Posts Private Message Junior Member Join Date Sep 2006 Location San Jose, Costa Rica Posts 16 Problems with LDAP auth ...

5. spring-ws, acegi and ldap?    forum.springsource.org

I have a web service that I've created using spring-ws and acegisecurity. It works well sending a username and password via basic authentication against an in-memory dao for testing. I'd like ...

6. ldap authentication for web service?    forum.springsource.org

ldap authentication for web service? I have a web service written using spring-ws. I've tested authentication for it using basic authentication as well as digest authentication against inMemoryDaoImpl. That works well ...

7. Acegi + Ldap    forum.springsource.org

Hello everyone.. I was wondering... While configuring Acegi with LdapAuthenticationProvider and creating an initialDirContextFactory, why are the managerDN and managerPassword needed, if we are authenticating the details provided by a user ...

8. ACEGI LDAP Connection Leak    forum.springsource.org

ACEGI LDAP Connection Leak Hi, we're in production with a spring application that uses httpinvoker for remoting services and basic authentication with Acegi for authenticating this requests. The user registry is ...

9. Can not get roles information by LDAP    forum.springsource.org

Can not get roles information by LDAP Hi All, I am very confused that can not get expected roles information from LDAP. Now authentication is successful and I can visit groups ...





10. Acegi LDAP Problem    forum.springsource.org

Acegi LDAP Problem I have configured Acegi to authenticate using LDAP the only problem is the roles are not being assigned to the user however in the log it says Added ...

11. authentication through ldap not working    forum.springsource.org

authentication through ldap not working Hello friends, I am applying Acegi to jaxws2.0 webservices. I want to authenticate the consumer through ldap database.i have configured it as follows ...

12. Permissions/tasks in LDAP/Acegi    forum.springsource.org

Permissions/tasks in LDAP/Acegi I would like to let my application use an LDAP server for authentication and authorisation. Specifically, my application has to be deployed at customers that already have an ...

13. Secure LDAP Authentication    forum.springsource.org

Having embarked on my first use of Acegi with Spring, I am currently authenticating successfully with LDAP using the BindAuthenticator. But I understand the DefaultInitialDirContextFactory currently only supports simple LDAP authentication. ...

14. acegi ldap authentication problem    forum.springsource.org

acegi ldap authentication problem Hello I am using spring acegi framework to secure jaxws2.0. I am using window active directory (ldap) for authentication and authorization. I am facing problem when i ...

15. A question on ldap authentication...    forum.springsource.org

A question on ldap authentication... Hello, I am using Jasper authenticated to Active Directory using ldap authentication. I have some questions which I am not able to solve. I need help ...

16. LDAP Authentication Problem    forum.springsource.org

LDAP Authentication Problem Hi all, Please excuse me for posting this here as AFAIK this is not an Acegi problem as such but it's really puzzling me. I am trying to ...





17. Multi LDAP + local users    forum.springsource.org

Multi LDAP + local users In my software users of my database and users of the LDAP can effect login. However users can be of some LDAPs different. I'm using the ...

18. acegi + ldap + ssl    forum.springsource.org

acegi + ldap + ssl I'm looking for some advice. I've been using Acegi to connect to Active Directory with no problems. I've been connecting without SSL just using ldap. Now ...

19. Ldap Authentication    forum.springsource.org

Ldap Authentication Hi all! In my application I use an LdapAuthenticationProvider with the BindAuthenticator and the DefaultLdapAuthoritiesPopulator .. It works fine but I need to improve it. In fact, after that ...

20. LDAP Authentication - but no roles in LDAP    forum.springsource.org

LDAP Authentication - but no roles in LDAP Hi, I want to do an LDAP Auth. But the problem is that the LDAP Server does not contains groups/roles, only users. As ...

21. to get the role from the user attribute LDAP    forum.springsource.org

to get the role from the user attribute LDAP Hello, I have a problem with the role. In my LDAP, I've got a group which is called "proto". In this group, ...

22. Using a JNDI LDAP context in Acegi config    forum.springsource.org

Using a JNDI LDAP context in Acegi config I have a JNDI LDAP context set up as part of my JBoss config because we have several environments (dev/test/prod) and we want ...

23. LDAP and user roles from db    forum.springsource.org

LDAP and user roles from db Hi All, I am having a table where users can be local users or LDAP users. For LDAP users, the pwd authentication has to be ...

24. Seperate Authentication(ldap) and Authorization(Oracle Db)    forum.springsource.org

How can we configure Acegi to do authentication from ldap and authorization from a database. My requirement is that user authentication info is stored in LDAP and authorization is stored in ...

25. How to retrieve (user) attributes from LDAP?    forum.springsource.org

How to retrieve (user) attributes from LDAP? I am authentication against LDAP, this works fine, but I have some specific user attributes wich I want to retrieve. (e.g. userMustChangePassword) In order ...

26. Using Ldap authentication with AD    forum.springsource.org

I'm new in Acegi and Spring framework. Just downloaded the sample source for "Contacts" and "Tutorials" but seems difficult to implement. Does anyone knows if there is any simple source for ...

27. LDAP login only with known username    forum.springsource.org

LDAP login only with known username Hi! Well, I'am stuck! I try to connect with our company LDAP System. This is the first time I try something like this. I know ...

28. LDAP and Authorization    forum.springsource.org

Typically, you want to use groups to identify bundlings of functionality. It may be that a certain application requires both a valid password (stored with the person entry) along with being ...

29.  attribute "user-search-base" doesn't seem to work    forum.springsource.org

attribute "user-search-base" doesn't seem to work I'm trying to authenticate against LDAP server, but can't make it work. This is my configuration: Code:

30. Cant start spring-security-samples-ldap-2.0.0    forum.springsource.org

Cant start spring-security-samples-ldap-2.0.0 I have downloaded spring-security-samples-ldap-2.0.0.war and imported it as war in eclipse Europa. I am using java 1.5 and apache-tomcat-5.5.26. when I try to start the server with example ...

31. LDAP authenticate and fetching attributes    forum.springsource.org

If I use BindAuthenticator I cannot get a particular attribute because it is not visible to the user. I can't use PasswordComparisonAuthenticator because admin does not have access to the userPassword ...

32. New Property for ldap-authentication-priovider    forum.springsource.org

New Property for ldap-authentication-priovider Hi: My compliments on the Security 2.0. It is really less verbose than Acegi 1.xx and I appreciate it. I'm still finding my way and I note ...

33. Nullpointer with ldap-user-service    forum.springsource.org

May 8th, 2008, 05:36 AM #1 richardgundersen View Profile View Forum Posts Private Message Member Join Date Jan 2007 Posts 76 Nullpointer with ldap-user-service Hi, I've got an issue trying to ...

34. What do people here use for LDAP password managment    forum.springsource.org

What do people here use for LDAP password managment What do people generally use to maintain their user ids and passwords in an LDAP environment. We have a requirement for single ...

35. LDAP Authorization - Anonymous Bind    forum.springsource.org

LDAP Authorization - Anonymous Bind It seems that Spring Security 2 will attempt to bind to the ldap server using anonymous credentials when satisfying the call to DefaultLdapAuthoritiesPopulator.getGroupMembership Roles() method. Even ...

36. Custom LDAP authentication classes not getting invoked    forum.springsource.org

Custom LDAP authentication classes not getting invoked Hi, I am trying to setup authentication and authorization against LDAP. In order to learn the flow of Spring security, I decided to customize ...

37. How to programmatically re-authenticate LDAP user    forum.springsource.org

How to programmatically re-authenticate LDAP user Hello again, I'm writing a method to allow a user to change their own password in an OpenLDAP repository. In order to allow the user ...

38. Ldap Authentication with DB Authorization    forum.springsource.org

Ldap Authentication with DB Authorization Hello. I'm reading up on Spring Security because I want to use it in the application I'm currently developing. I'm understanding most of the architecture in ...

39. Using Spring Security with LDAP    forum.springsource.org

Hello, I'm a real newbie regarding Spring Security. I'd like to use it to authenticate my users against an ldap server that allows anonymous access. Can anyone provide some decent code ...

40. strange behaviour with LDAP password account locked    forum.springsource.org

strange behaviour with LDAP password account locked Hi, I'm using Spring security with LDAP (IBM active directory) and getting some strange issues. So would like to get some directions from anybody. ...

41. lost on Acegi LDAP    forum.springsource.org

lost on Acegi LDAP I wrote a little standalone java program to test user authentication against LDAP (SSL/STL). All attributes were double-checked. I was assured the users did exist on the ...

42. Acegi LDAP authentication with password Digest not working    forum.springsource.org

Acegi LDAP authentication with password Digest not working Hello, I am able to get the Acegi callback handler for plain text pwd working using LDAP connection in Spring WS. However, if ...

43. LDAP for authentication then DAOProvider for authorization?    forum.springsource.org

Hi, guys I got a suitation, all my web applications are running on WAS, right now all of them are using LDAP for authentication and authorization which means WAS auto-generate an ...

44. JSF + Acegi + LDAP    forum.springsource.org

Hi All, I need to do login authentication with LDAP and get the authorities from local data base after authenticated. Any body have sample code to do this. Could you please ...

45. how: ldap authentication / non-ldap authorization    forum.springsource.org

Using namespace configuration, i.e. ldap-authentication-provider, how can I do ldap authentication but use another method for authorization? I see documentation on how to split this out using bean configuration, but don't ...

46. Obtaining user details from ldap server with acegi    forum.springsource.org

Obtaining user details from ldap server with acegi Hi, I'm using Acegi 1.0.7 to connect to an LDAP server and authenticate against it (that works OK). Are there any code samples ...

47. LDAP Username & Password & Custom field Authentication    forum.springsource.org

LDAP Username & Password & Custom field Authentication Is there an LDAP example of adding an additional field to login to determine what organization url to search in? I want my ...

48. LDAP authentication    forum.springsource.org

LDAP authentication Hopefully I'm missing something very obvious and someone can spot it. I'm trying to do a very basic LDAP authentication with the following configuration: Code:

49. Multiple Authentication providers using LDAP and Database    forum.springsource.org

Multiple Authentication providers using LDAP and Database I am very new to Spring Security, i have played around with the sample apps in the tutorials. However here is my requirement: I ...

50. Spring security ldap authentication problem in IE 7    forum.springsource.org

Spring security ldap authentication problem in IE 7 Hi all, I'm using Spring Security LDAP Authentication for a web application. It has a custom log in page. It works well with ...

51. Unable to bind to user using LDAP...    forum.springsource.org

Jul 31st, 2008, 09:15 AM #1 greco View Profile View Forum Posts Private Message Junior Member Join Date Jun 2005 Location Montreal, Quebec Posts 24 Unable to bind to user using ...

52. Spring security with LDAP (ADAM)    forum.springsource.org

Spring security with LDAP (ADAM) I am receiving a "401: Bad Credentials" error while authenticating with Active Directory (ADAM). Here is my spring configuration for security (Which is very simple). Can ...

53. PLEASE help with my LDAP authentication    forum.springsource.org

Aug 17th, 2008, 01:51 PM #1 posta07 View Profile View Forum Posts Private Message Visit Homepage Member Join Date Aug 2008 Location Phoenix, AZ Posts 63 PLEASE help with my LDAP ...

54. Hashig with Spring Security - LDAP    forum.springsource.org

Hashig with Spring Security - LDAP Hi, I was working on a Spring Security - LDAP (Apache DS) , I was using the default configuration for the authentication form the ...

55. Ldap Authentication casting problem    forum.springsource.org

I'am trying to use the Ldap authentication mechanism but my problem is that I always receive a LdapUserDetailsImpl object when I call: Code: Object userObject = SecurityContextHolder.getContext().getAuthentication().getPrincipal(); I need to cast ...

56. LDAP Change Password OpenLDAP    forum.springsource.org

LDAP Change Password OpenLDAP It seems that Spring Security is caching the login credentials, and I'm not sure how to prevent it. Here are the steps I take: 1. login with ...

57. Authentication using LDAP    forum.springsource.org

Hi. I have to autenthicate my users by using two LDAP server. In at nutshell I am look for my user credential in two differents LDAP data sources ... How can ...

58. LDAP Authentication    forum.springsource.org

I'm sure this has popped up before, but I can't seem to find a clear cut answer to my question through search. All I need is a way to pass LDAP ...

59. LDAP Authorization    forum.springsource.org

LDAP Authorization I configured spring security with LDAP authentication an authorization successfully. I used some groups for organizing users. This is my role assignment in LDIF and spring security context: Code: ...

60. Spring security and Spring Ldap ContextSource mismatch    forum.springsource.org

The LDAP ContextSource interface has changed in 1.3.0 RC1. Spring Security 2.0.4 seems to require the old ContextSource. Is there a forthcoming release for Security to use the new interfaces?

61. Simple and LDAP authentication    forum.springsource.org

Simple and LDAP authentication Hi, I working on this app and I've run into a problem when I want to use both "simple" authentication (from db) and LDAP based authentication. I've ...

62. LDAP Groups - Roles Issue    forum.springsource.org

LDAP Groups - Roles Issue Hello All; I am an LDAP newbie and have inherited some code that seems to have an issue. I would like to get a list of ...

63. Retrieving LDAP Attributes with Spring Security    forum.springsource.org

Retrieving LDAP Attributes with Spring Security I have read through several threads on the forums and the documentation several times and I seem to be failing to grasp the critical line ...

64. LDAP Roles    forum.springsource.org

LDAP Roles I am using LDAP for security for my website, this works great, it is using the logins from my LDAP server, the problem I am having is no roles ...

65. RFI: LDAP Authentication w/- OpenLDAP + Password Comparison    forum.springsource.org

RFI: LDAP Authentication w/- OpenLDAP + Password Comparison Hi Guys, I'm trying to plug a couple of spring applications into our company LDAP servers which are running OpenLDAP with Password Comparison. ...

66. Ldap-authnetication-provider namespace configuration and own filter for role    forum.springsource.org

Ldap-authnetication-provider namespace configuration and own filter for role Is it possible to use namespace ldap authentication like: Code: ...

67. Spring Security and LDAP - Getting user roles.    forum.springsource.org

68. HEEEELP :custmize Ldap authentication    forum.springsource.org

Here is my security context XML content that works well with AD via the LDAP config. I suppose that for another LDAP implementation you will need to tweak some of the ...

69. problems for LDAP authentication against AD    forum.springsource.org

problems for LDAP authentication against AD I'm having trouble getting LDAP authentication against Active Directory to work. I'm trying to work at the level of SecurityConfig.groovy becuase I more-or-less understand that ...

70. Spring Acegi LDAP integration - prerequisites and steps needed    forum.springsource.org

Hi guys, I am currently trying to integreate my spring application ( which has acegi security enabled) with LDAP. I want the basic LDAP password based authentication for login functionality. can ...

71. ldap authentication working, but authorization give 403    forum.springsource.org

ldap authentication working, but authorization give 403 I'm rather new with Spring Security so I'm hoping this is an easy fix. I'm trying to get a simple example working with ldap. ...

72. User Authentication with LDAP and remoting approach    forum.springsource.org

User Authentication with LDAP and remoting approach Hello, We are designing an application that utilizes a thick client that communicates with a service tier via spring remoting. I have a requirement ...

73. LDAP authentication + remember me functionality    forum.springsource.org

Relatively new to spring security, but I've been digging through docs and source code to try to figure out how to get remember me functionality with ldap authentication. What is the ...

74. Restricting url access using LDAP user role    forum.springsource.org

75. LDAP password comparison    forum.springsource.org

LDAP password comparison I'm using OpenLDAP and JXplorer to manage it. I have a user with the 'userPassword' attribute set. When I tell JXplorer to store the password as an 'sha1' ...

76. Remember-Me with custom LDAP Authentication    forum.springsource.org

Remember-Me with custom LDAP Authentication Hi, I want to implement remember me functionality of spring security in my project. As of now, i've three input box on login screen: 1. User ...

77. Problems setting up Security with LDAP    forum.springsource.org

Problems setting up Security with LDAP I'm getting the following error when attempting to log into my app: Your login attempt was not successful, try again. Reason: [LDAP: error code 32 ...

78. Do user roles returned from LDAP need to be trimmed?    forum.springsource.org

Do user roles returned from LDAP need to be trimmed? Hello, I have a problem with trailing space in roles returned from ldap server. My ldap server, unfortunately, returns a role ...

79. Spring Security using LDAP with no roles    forum.springsource.org

Spring Security using LDAP with no roles I'm converting a simple webapp which is currently using Siteminder, to use Spring Security. The app consists of a login page and a secure ...

80. LDAP: error code 50 - INSUFFICIENT_ACCESS_RIGHTS    forum.springsource.org

GRAVE: Exception while dispatching incoming RPC call java.lang.RuntimeException: UnexpectedException: Service method 'public abstract Permissions .login(String,String) throws LoginException' threw an unexpected exception: org.springframework.security.AuthenticationServiceException: [LDAP: error code 50 - INSUFFICIENT_ACCESS_RIGHTS: failed for

81. Spring Security LDAP does not bind to referral!    forum.springsource.org

Spring Security LDAP does not bind to referral! Hi all, Does anyone have any experience using Spring Security LDAP with referrals? I've gotten Spring LDAP to follow referrals but it refuses ...

82. LDAP authentication with referrals    forum.springsource.org

LDAP authentication with referrals Hi all, I am trying to authenticate users using Spring Security and LDAP. However, since I'm using referrals I've set the follow referral flag to true. Problem ...

83. Problem: User in LDAP auth tree but not in InMemoryUserService    forum.springsource.org

Problem: User in LDAP auth tree but not in InMemoryUserService I have casified an existing application using Cas/SpringSecurity integration. Everything is working fine, until I remove the user from the User ...

84. spring-security-samples-ldap: how to define new user    forum.springsource.org

I am looking for information on how to add a new user when using the spring-security-samples-ldap sample LDAP server. Can any one provide the steps on how to do this. Thanks ...

85. How to do LDAP authentication and database Authorization in Spring security?    forum.springsource.org

I'm new to Spring, so this question may look like so obvious. I'm trying to implement Spring security and my requirement is to authenticate the user name/password against a LDAP server ...

86. Authenticate users via LDAP or Database.    forum.springsource.org

Authenticate users via LDAP or Database. Hi. I'm new in Spring Security. In a database there is a table called User. In this table there is a column called Connection_Type. If ...

87. Upgrading multiple LDAP authentication providers from Acegi to Spring Security    forum.springsource.org

Upgrading multiple LDAP authentication providers from Acegi to Spring Security Hey, everyone! We've upgraded from Acegi to Spring Security 2.0.4 and I'm wondering how to express multiple LDAP providers using the ...

88. Use Ldap for authentication, and database for authorities    forum.springsource.org

Use Ldap for authentication, and database for authorities I need to use Ldap for authentication and database for authorization with spring security. When I enter login/password on login page, nothing appends ...

89. Spring Security with LDAP    forum.springsource.org

Jun 23rd, 2009, 08:59 AM #1 ashfaqkhan View Profile View Forum Posts Private Message Junior Member Join Date Jun 2009 Posts 1 Spring Security with LDAP Hi, I am currently working ...

90. Remember-Me with LDAP authentication and DB Authorization.    forum.springsource.org

Remember-Me with LDAP authentication and DB Authorization. hi , in our project we had the scenario : LDAP authentication and DB for authorization. and implementing remember-me too. outline of my configuration ...

91. Spring Authentication via LDAP Server    forum.springsource.org

Spring Authentication via LDAP Server I am trying to allow a user to login to a page and then authenticate their login information against a LDAP server. I originally posted this ...

92. Authentication with LDAP attributes    forum.springsource.org

Hi everybody, I use Spring security for an LDAP authentication. In my SecurityContext.xml file, I have this filter Code:

93. LDAP authentication: how to set PasswordAttributeName?    forum.springsource.org

LDAP authentication: how to set PasswordAttributeName? Hi, I am trying to do LDAP authentication, but the password attribute in LDAP is "userPassword". How do I configure this in spring security? I ...

94. What is LDAP security    forum.springsource.org

What is LDAP security I am reading spring in action and everything was going well until i hit the the headline 'Authenticating against an LDAP repository' I tried to find on ...

95. LDAP: can't bind users across multiple OUs    forum.springsource.org

LDAP: can't bind users across multiple OUs Trying to bind users which may reside in multiple OUs. Below is my simple configuration. When the BindAuthenticator iterates over the list of DN ...

96. spring security,ldap,acl    forum.springsource.org

97. What is the the best practice to combine both LDAP authentication & DAO authorization    forum.springsource.org

My project adopts LDAP only for authentication, while the 'GrantedAuthorities' should be stored in database. I'm wondering what is the best practice to combine those two? Currently I've implemented a custom ...

98. Verify password against LDAP server (how?)    forum.springsource.org

Verify password against LDAP server (how?) Hi, I have a custom login page/form which sends the username + password to a custom UserDetailsService. I need to verify the entered password against ...

99. spring security, opennms and ldap    forum.springsource.org

all i am trying to use ldap for opennms. i keep running into an error that states: Code: Root DNs must be the same when using multiple URLs this error is ...

100. LDAP authentication failure    forum.springsource.org

Oct 6th, 2009, 06:46 AM #1 Coenos View Profile View Forum Posts Private Message Member Join Date May 2008 Posts 34 LDAP authentication failure Hi, I have a custom authentication mechanism ...