?? securityadapter.java
字號:
package apusic.myshop.util;import apusic.myshop.customer.ejb.DuplicateAccountException;import javax.servlet.http.HttpSession;/** * This interface is implemented by a class that contains * non-portable security code. * @author Greg Murray */ //安全組public interface SecurityAdapter { /** * This method adds a user with the specified password to * the specified group within a realm. * * @throws DupplicateAccountException if the userName * already exists */ public void addUser(String realmName, String group, String userName, String password) throws DuplicateAccountException; /** * Programatically Logs a user into the form based login * mechamism of a web server when a new account is created. * This prevents the user from having to log in after * a new account is created. */ public void loginUser(String userName, String password, HttpSession session);}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -