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