public class UserHandlerImpl extends UserHandler
| Constructor and Description |
|---|
UserHandlerImpl(org.omg.CORBA.ORB orb,
AcsLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
User |
createUser(java.lang.String name,
java.lang.String password)
Factory method.
|
User |
getUser(java.lang.String name,
org.omg.CORBA.ORB orb,
AcsLogger logger)
Get the user by its name.
|
java.util.Collection |
getUsers()
Get all the defined alarm console users.
|
void |
removeUser(java.lang.String name)
Remove an alarm console user.
|
getpublic UserHandlerImpl(org.omg.CORBA.ORB orb,
AcsLogger logger)
throws LaserConsoleException
LaserConsoleExceptionpublic java.util.Collection getUsers()
throws LaserConsoleException
UserHandlergetUsers in class UserHandlerLaserConsoleException - if the request can not be served.public User getUser(java.lang.String name, org.omg.CORBA.ORB orb, AcsLogger logger) throws LaserConsoleException
UserHandlergetUser in class UserHandlername - the user name.LaserConsoleException - if the request can not be served.LaserUserNotFoundException - if the user does not exist.public User createUser(java.lang.String name, java.lang.String password) throws LaserConsoleException
UserHandlercreateUser in class UserHandlername - the user name.password - the user password.LaserConsoleException - if the request can not be served.LaserUserDuplicationException - if the user already exists.public void removeUser(java.lang.String name)
throws LaserConsoleException
UserHandlerremoveUser in class UserHandlername - the name of the user to remove.LaserConsoleException - if the request can not be served.LaserUserNotFoundException - if the user does not exist.