Results 1 to 3 of 3

Thread: Using LDAP and database for authentication

  1. #1
    Join Date
    Apr 2006
    Posts
    10

    Default Using LDAP and database for authentication

    Hi,

    I am trying to use Acegi in my current project, I have a requirement of exposing the applicaton to external as well as internal users. The project proposes to use LDAP for internal users and Database for external. Has someone been through the same situation. How can I use Acegi to handle this situation?

    I have already seen some posts on this but the links refered in the reply wont work anymore.

    Any help will be greatly appreciated.. Thanks in advance.
    Last edited by sunraider; Apr 6th, 2006 at 12:34 PM.

  2. #2
    Join Date
    Sep 2005
    Location
    Toronto, Canada
    Posts
    42

    Default

    hi, I have a similar situation; two sets of users (one being admins, the other being end users)
    acegi handles this perfectly

    example:
    Code:
    <bean id="authenticationManager" class="net.sf.acegisecurity.providers.ProviderManager">
    		<property name="providers">
    			<list>
    				<ref bean="firstAuthenticationProvider"/>
    				<ref bean="secondAuthenticationProvider"/>
    			</list>
    		</property>
    	</bean>
    if you user ProviderManager as the authenticationManager, it will consult each provider in order looking for appropriate user

  3. #3
    Join Date
    Apr 2006
    Posts
    10

    Default

    Thanks Shan, this gives me the start point; Its possible. I will try it out.

Posting Permissions

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