[daisy] Authenticator for Creating User

Steven Noels stevenn at outerthought.org
Fri Sep 7 16:29:06 CDT 2007


On 07 Sep 2007, at 23:04, Parisi, Lou wrote:

> Is it possible to have multiple authentication schemes tried for  
> the user creation and as long as one authenticates then create the  
> user?
>
>
>
> We have Active Directory authentication working but we have 3  
> different realms depending on the user’s geographical region.  I  
> can manually setup the user and assign one of the ldap schemes and  
> this works but we would like to have users be automatically created  
> and be assigned to the scheme they are successfully authenticated  
> against.
>
>
>
> If this functionality does not exist, I am new to daisy but was  
> wondering if anyone familiar with the code could tell me how  
> involved this would be to create a class to handle iterating  
> through the configured ldap schemes, try authentication, and if one  
> passes then create the user and assign the scheme to the user for  
> future logins?

The existing LDAP authentication scheme code can be found her:

http://svn.cocoondev.org/repos/daisy/trunk/daisy/services/ldap-auth/ 
src/java/org/outerj/daisy/authentication/impl/ 
LdapAuthenticationScheme.java

Adding a new scheme is supported as well:

http://cocoondev.org/daisydocs-2_1/373-cd/474-cd/470-cd/471-cd.html

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought                              Open Source Java & XML
stevenn at outerthought.org                stevenn at apache.org




More information about the daisy mailing list