| java.lang.Object org.sakaiproject.component.imsent.user.IMSEntUserDirectoryProvider
IMSEntUserDirectoryProvider | public class IMSEntUserDirectoryProvider implements UserDirectoryProvider(Code) | |
IMSEntUserDirectoryProvider is a sample UserDirectoryProvider.
|
Inner Class :public class SakaiIMSUser | |
m_autoDdl | protected boolean m_autoDdl(Code) | | Configuration: to run the ddl on init or not.
|
IMSEntUserDirectoryProvider | public IMSEntUserDirectoryProvider()(Code) | | Construct.
|
authenticateUser | public boolean authenticateUser(String userId, UserEdit edit, String password)(Code) | | Authenticate a user / password. If the user edit exists it may be modified, and will be stored if...
Parameters: id - The user id. Parameters: edit - The UserEdit matching the id to be authenticated (and updated) if we have one. Parameters: password - The password. true if authenticated, false if not. |
authenticateWithProviderFirst | public boolean authenticateWithProviderFirst(String id)(Code) | | |
createUserRecord | public boolean createUserRecord(String id)(Code) | | |
destroy | public void destroy()(Code) | | Returns to uninitialized state. You can use this method to release resources thet your Service allocated when Turbine shuts down.
|
destroyAuthentication | public void destroyAuthentication()(Code) | | |
findUserByEmail | public boolean findUserByEmail(UserEdit edit, String email)(Code) | | Find a user object who has this email address. Update the object with the information found.
Parameters: email - The email address string. true if the user object was found and information updated, false if not. |
getUser | public boolean getUser(UserEdit edit)(Code) | | Access a user object. Update the object with the information found.
Parameters: edit - The user object (id is set) to fill in. true if the user object was found and information updated, false if not. |
getUsers | public void getUsers(Collection users)(Code) | | Access a collection of UserEdit objects; if the user is found, update the information, otherwise remove the UserEdit object from the collection.
Parameters: users - The UserEdit objects (with id set) to fill in or remove. |
init | public void init()(Code) | | Final initialization, once all dependencies are set.
|
retrieveUser | public SakaiIMSUser retrieveUser(String userId, boolean isEmail)(Code) | | |
setAutoDdl | public void setAutoDdl(String value)(Code) | | Configuration: to run the ddl on init or not.
Parameters: value - the auto ddl value. |
setSqlService | public void setSqlService(SqlService service)(Code) | | Dependency: SqlService.
Parameters: service - The SqlService. |
updateUserAfterAuthentication | public boolean updateUserAfterAuthentication()(Code) | | Will this provider update user records on successfull authentication? If so, the UserDirectoryService will cause these updates to be stored.
true if the user record may be updated after successfull authentication, false if not. |
userExists | public boolean userExists(String userId)(Code) | | See if a user by this id exists.
Parameters: userId - The user id string. true if a user by this id exists, false if not. |
|
|