[Deploying Sakai] Sakai internal users authenticated through LDAP

David Horwitz david.horwitz at uct.ac.za
Tue Aug 24 06:53:45 PDT 2010


That's the one, I would qualify my earlier stamen t to "all public
methods implemented from UserDirectoryProvider"

So the ones that must work:

boolean authenticateUser(String eid, UserEdit edit, String password);
boolean authenticateWithProviderFirst(String eid);

The ones that should return null or false:

boolean findUserByEmail(UserEdit edit, String email);
boolean getUser(UserEdit edit);
void getUsers(Collection<UserEdit> users);

The api docs for UserDirectoryProvider can be found here:
https://source.sakaiproject.org/release/kernel/1.1.8/apidocs/org/sakaiproject/user/api/UserDirectoryProvider.html


David



On 08/24/2010 03:45 PM, Jayanna, Sid wrote:
> David, 
> Do you mean public methods in the file JLDAPDirectoryProvider.java in sakai-src-2.7.0/providers/jldap/src/java/edu/amc/sakai/user/?
>
> -Sid
> On Aug 24, 2010, at 8:54 AM, David Horwitz wrote:
>
>   
>> Hi Ronald,
>>
>> We do this and its fairly straight forward. Basically you need to modify the Jldap user directory service so that all the public methods except authenticateUser authenticateWithProviderFirst return null or false. 
>>
>> Regards
>>
>> David
>>
>> On 08/24/2010 02:44 PM, Weaver, Ronald D. Jr. Mr. wrote:
>>     
>>> Hello,
>>>  
>>> My name is Dave and I work for Miami University and we are now setting up Sakai 2.7 for a pilot release.  One problem we are having is trying to figure out how to set up authentication and provisioning.  What we would like to do is have internal users authenticate through LDAP, but only login if they have an account created in Sakai.  Has anyone done this before and, if so, could you provide some guidance as to how to set this up?  Please keep in mind we are very new to the system and need a bit of hand holding as we pick the system up.  Thanks for your time and consideration.
>>>  
>>> Thanks,
>>> Dave
>>>  
>>> David Weaver
>>> Application Analyst
>>> weaverrd at muohio.edu
>>> (513) 529-1924
>>>
>>> _______________________________________________
>>> production mailing list
>>>
>>> production at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/production
>>>
>>>
>>> TO UNSUBSCRIBE: send email to 
>>> production-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>>       
>> <ATT00001..txt>
>>     
>   


More information about the production mailing list