📄 iauthentication.java
字号:
package com.free.struts.storefront.framework.security;
import com.free.struts.storefront.customer.view.UserView;
import com.free.struts.storefront.framework.exceptions.AccountLockedException;
import com.free.struts.storefront.framework.exceptions.DatastoreException;
import com.free.struts.storefront.framework.exceptions.ExpiredPasswordException;
import com.free.struts.storefront.framework.exceptions.InvalidLoginException;
/**
* <p>Title: Eclipse Plugin Development</p>
* <p>Description: Free download</p>
* <p>Copyright: Copyright (c) 2006</p>
* <p>Company: Free</p>
* @author gan.shu.man
* @version 1.0
*/
public interface IAuthentication {
/**
* Log the user out of the system.
*/
public void logout(String email);
/**
* Authenticate the user's credentials and either return a UserView for the
* user or throw one of the security exceptions.
*/
public UserView authenticate(String email, String password) throws
InvalidLoginException,ExpiredPasswordException,AccountLockedException,DatastoreException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -