| java.lang.Object org.sakaiproject.component.kerberos.user.KerberosUserDirectoryProvider
KerberosUserDirectoryProvider | public class KerberosUserDirectoryProvider implements UserDirectoryProvider(Code) | |
KerberosUserDirectoryProvider is a UserDirectoryProvider that authenticates usernames using Kerberos.
For more information on configuration, see the README.txt file
|
Inner Class :protected class SakaiCallbackHandler implements CallbackHandler | |
Inner Class :class UserData | |
m_cachettl | protected int m_cachettl(Code) | | Configuration: Cachettl
|
m_domain | protected String m_domain(Code) | | Configuration: Domain
|
m_knownusermsg | protected String m_knownusermsg(Code) | | Configuration: KnownUserMsg
|
m_logincontext | protected String m_logincontext(Code) | | Configuration: LoginContext
|
m_requirelocalaccount | protected boolean m_requirelocalaccount(Code) | | Configuration: RequireLocalAccount
|
authenticateKerberos | protected boolean authenticateKerberos(String user, String pw)(Code) | | Authenticate the user id and pw with Kerberos.
Parameters: user - The user id. Parameters: password - the user supplied password. true if successful, false if not. |
authenticateUser | public boolean authenticateUser(String userId, UserEdit edit, String password)(Code) | | Authenticate a user / password. Check for an "valid, previously authenticated" user in in-memory table.
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.
|
setCachettl | public void setCachettl(int cachettl)(Code) | | Configuration: Cache TTL
Parameters: cachettl - Time (in milliseconds) to cache authenticated usernames - default is 300000 ms (5 minutes) |
setDomain | public void setDomain(String domain)(Code) | | Configuration: Domain Name (for E-Mail Addresses)
Parameters: domain - The domain in the form of "domain.tld" |
setKnownUserMsg | public void setKnownUserMsg(String knownusermsg)(Code) | | Configuration: Kerberos Error Message
Parameters: knownusermsg - Start of error returned for bad logins by known users - default is from RFC 1510 |
setLoginContext | public void setLoginContext(String logincontext)(Code) | | Configuration: Authentication Name
Parameters: logincontext - The context to be used from the login.config file - default "KerberosAuthentication" |
setRequireLocalAccount | public void setRequireLocalAccount(Boolean requirelocalaccount)(Code) | | Configuration: Require Local Account
Parameters: requirelocalaccount - Determine if a local account is required for user to authenticate - default "true" |
updateUserAfterAuthentication | public boolean updateUserAfterAuthentication()(Code) | | Will this provider update user records on successful authentication? If so, the UserDirectoryService will cause these updates to be stored.
true if the user record may be updated after successful 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. |
|
|