📄 jbossjaasmanager.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 + -