?? iauthentication.java
字號:
package netstore.framework.security;
import netstore.businessobjects.Customer;
import netstore.framework.exceptions.InvalidLoginException;
import netstore.framework.exceptions.ExpiredPasswordException;
import netstore.framework.exceptions.AccountLockedException;
import netstore.framework.exceptions.DatastoreException;
/**
* Defines the security methods for the system.
*/
public interface IAuthentication {
/**
* Log the customer out of the system.
*/
public void logout(String email);
/**
* Authenticate the customer's credentials and either return a Customer or throw one of the security exceptions.
*/
public Customer authenticate(String email, String password) throws
InvalidLoginException,ExpiredPasswordException,AccountLockedException,DatastoreException;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -