|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
UserAdministration Interface Class defines the mehtods and the parameters for the UserAdministrationBean
| Method Summary | |
void |
addUserPermission(java.lang.String userId,
java.lang.String permission)
This method updates the EJBUSER_PERMISSIONS table with a permission for a user. |
void |
addUserToGroup(java.lang.String userId,
java.lang.String group)
This method will add a specified user to a group. |
void |
createUser(java.lang.String userId,
java.lang.String userName,
java.lang.String password)
This method creates a new user. |
void |
deleteUser(java.lang.String userId)
This method deletes a user. |
void |
deleteUserFromGroup(java.lang.String userId,
java.lang.String group)
This method will remove a specified user from a group. |
void |
deleteUserPermission(java.lang.String userId,
java.lang.String permission)
This method deletes a permission associated with a user. |
java.util.Enumeration |
getAllUsers()
This method will get all the users currently registered in the system. |
EJBUser |
getUser(java.lang.String userId)
This method finds a user by its primary key, the UserID. |
java.util.Vector |
getUserPermissions(java.lang.String userId)
This method gets the permissions specified for a user. |
java.util.Vector |
unassignedUserPermissions(java.lang.String userId)
This method returns the permissions a user does not have. |
| Methods inherited from interface com.bankframe.ejb.ESessionRemote |
processDataPacket, processDataPackets |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public void addUserPermission(java.lang.String userId,
java.lang.String permission)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - the id of user to updatepermission - the permission to update the specified user with
ProcessingErrorException - if processing fails
java.rmi.RemoteException
public void addUserToGroup(java.lang.String userId,
java.lang.String group)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - the id of user to add to groupgroup - the group to add the specified user to
ProcessingErrorException - if processing fails.
java.rmi.RemoteException
public void createUser(java.lang.String userId,
java.lang.String userName,
java.lang.String password)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - ID of user to createuserName - Name of user to createpassword - password to assign to new user
ProcessingErrorException - this exception is thrown if processing fails.
java.rmi.RemoteException
public void deleteUser(java.lang.String userId)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - the id of the user to delete
ProcessingErrorException - if processing fails.
java.rmi.RemoteException
public void deleteUserFromGroup(java.lang.String userId,
java.lang.String group)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - the id of the user to add to a groupgroup - the group to remove the specified userfrom
ProcessingErrorException - if processing fails.
java.rmi.RemoteException
public void deleteUserPermission(java.lang.String userId,
java.lang.String permission)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - the id of userpermission - the permission to remove from this user
ProcessingErrorException - if processing fails
java.rmi.RemoteException
public java.util.Enumeration getAllUsers()
throws ProcessingErrorException,
java.rmi.RemoteException
ProcessingErrorException - if processing fails
java.rmi.RemoteException
public EJBUser getUser(java.lang.String userId)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - the id of user to check
ProcessingErrorException - if processing fails.
java.rmi.RemoteException
public java.util.Vector getUserPermissions(java.lang.String userId)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - the id of user to fetch permissions for
ProcessingErrorException - this exception is thrown if processing fails.
java.rmi.RemoteException
public java.util.Vector unassignedUserPermissions(java.lang.String userId)
throws ProcessingErrorException,
java.rmi.RemoteException
userId - the id of user to check unassigned permissions for
ProcessingErrorException - if processing fails.
java.rmi.RemoteException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||