org.caleigo.security
Interface ILoginHandler
- All Known Implementing Classes:
- DataSourceLoginHandler, ILoginHandler.DefaultLoginHandler
- public interface ILoginHandler
An ILoginHandler handles the process of login in a user. It uses an IUserLoginHandler
for user interaction.
- Version:
- 1.00
- Author:
- Mattias Hagstrand
Method Summary |
UserInfo |
login(java.lang.Object loginInfo)
Tries to log in a user. |
login
public UserInfo login(java.lang.Object loginInfo)
- Tries to log in a user.
- Parameters:
loginInfo
- An object that contains login information, such as user name, password.
- Returns:
- A UserInfo object if succesfull,
null
otherwise.
- Throws:
java.lang.SecurityException
- if the login fails.
Copyright © 2005 Caleigo. All Rights Reserved.