| net.jforum.sso.LoginAuthenticator
All known Subclasses: net.jforum.sso.LDAPAuthenticator, net.jforum.sso.DefaultLoginAuthenticator,
LoginAuthenticator | public interface LoginAuthenticator (Code) | | Validates user's credentials.
Implementations of this interface are supposed
to check for access rights in some "shared" environment,
like calling some external procedure, consulting a different
users table, reading from a XML file etc.. It is not SSO,
since it still will be JForum that will call the validate login
methods.
If you want SSO, please check
net.jforum.sso.SSO author: Rafael Steil version: $Id: LoginAuthenticator.java,v 1.7 2006/08/20 22:47:43 rafaelsteil Exp $ |
Method Summary | |
public void | setUserModel(UserDAO dao) Sets the user model for the instance. | public User | validateLogin(String username, String password, Map extraParams) Authenticates an user.
Parameters: username - Username Parameters: password - Password Parameters: extraParams - Extra parameters, if any. |
setUserModel | public void setUserModel(UserDAO dao)(Code) | | Sets the user model for the instance.
Parameters: dao - UserDAOThe user model to set |
validateLogin | public User validateLogin(String username, String password, Map extraParams)(Code) | | Authenticates an user.
Parameters: username - Username Parameters: password - Password Parameters: extraParams - Extra parameters, if any. An instance of a net.jforum.entities.User or null |
|
|