Announcement Announcement Module
Collapse
No announcement yet.
Using LDAP and database for authentication Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 12:34 PM.

  • #2
    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

    Comment


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

      Comment

      Working...
      X