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

📄 jbossjaasmanager.java

📁 噶额外噶外骨骼感广泛高热感 就 啊啊
💻 JAVA
字号:
/*
* @author                        : Neelesh
* @Version                       : 1.0
*
* Development Environment        : Oracle9i JDeveloper
* Name of the File               : JBOSSJAASManager.java
* Creation/Modification History  :
*
* Neelesh   10-Dec-2002      Created
*
*/
package oracle.otnsamples.vsm;
/**
 * Dummy Implementation for JBoss,JBoss can be configured to use an RDBMS table
 * as JAAS repository. The table generated by Customer entity can be used
 * as JAAS repository. Whenever a user registers with VSM, an entry is made 
 * in this table, which is also our JAAS repository
 */
public class JBOSSJAASManager implements JAASManager {
/**
   * No Implementation 
   * @param init
   */
 public void init(Object init){
  // dummy. JBoss does not need this because we are using database for security 
  //roles,passwords and users
    
  }
 /**
   * No Implementation 
   * @param userName
   * @param password
   * @param role
   * @throws UserException
   */
  public void addUser(String userName,String password,String role) throws UserException{
  // dummy. JBoss does not need this because we are using database for security 
  //roles,passwords and users
  }
  /**
   * No Implementation 
   * @param userName
   * @throws UserException
   */
  public void dropUser(String userName) throws UserException{
  // dummy. JBoss does not need this because we are using database for security 
  //roles,passwords and users
    
  }
  
}

⌨️ 快捷键说明

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