⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jaasmanager.java

📁 噶额外噶外骨骼感广泛高热感 就 啊啊
💻 JAVA
字号:
/*
* @author                        : Neelesh
* @Version                       : 1.0
*
* Development Environment        : Oracle9i JDeveloper
* Name of the File               : JAASManager.java
* Creation/Modification History  :
*
* Neelesh   10-Dec-2002      Created
*
*/
package oracle.otnsamples.vsm;
/**
 * This interface has method declarations for adding/dropping users from a JAAS
 * user repository. The implementations will have code for managing users in LDAP,
 * XML files,RDBMS or any other storage.
 *  The concrete implementation to be used is specified in Misc.properties file
 * as the value of the key "jaas.manager"
 */
public interface JAASManager  {
  /**
   * Provides a way to initialize the implementations suitably
   * @param object
   */
  public void init(Object object);
  /**
   * Add the user and role info to the JAAS repository
   * @param userName
   * @param password
   * @param role
   * @throws UserException
   */
  public void addUser(String userName,String password,String role) throws UserException;
  /**
   * Delete a user from JAAS repository
   * @param userName
   * @throws UserException
   */
  public void dropUser(String userName) throws UserException;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -