Public Member Functions | |
UserHandlerImpl (ORB orb, AcsLogger logger) throws LaserConsoleException | |
Collection | getUsers () throws LaserConsoleException |
User | getUser (String name, ORB orb, AcsLogger logger) throws LaserConsoleException |
User | createUser (String name, String password) throws LaserConsoleException |
void | removeUser (String name) throws LaserConsoleException |
cern.laser.console.impl.UserHandlerImpl.UserHandlerImpl | ( | ORB | orb, | |
AcsLogger | logger | |||
) | throws LaserConsoleException |
User cern.laser.console.impl.UserHandlerImpl.createUser | ( | String | name, | |
String | password | |||
) | throws LaserConsoleException [virtual] |
Factory method. Define a new alarm console user.
name | the user name. | |
password | the user password. |
LaserConsoleException | if the request can not be served. | |
LaserUserDuplicationException | if the user already exists. |
Implements cern.laser.console.UserHandler.
User cern.laser.console.impl.UserHandlerImpl.getUser | ( | String | name, | |
ORB | orb, | |||
AcsLogger | logger | |||
) | throws LaserConsoleException [virtual] |
Get the user by its name.
name | the user name. |
LaserConsoleException | if the request can not be served. | |
LaserUserNotFoundException | if the user does not exist. |
Implements cern.laser.console.UserHandler.
Referenced by alma.alarmsystem.clients.CategoryClient.connect().
Collection cern.laser.console.impl.UserHandlerImpl.getUsers | ( | ) | throws LaserConsoleException [virtual] |
Get all the defined alarm console users.
LaserConsoleException | if the request can not be served. |
Implements cern.laser.console.UserHandler.
void cern.laser.console.impl.UserHandlerImpl.removeUser | ( | String | name | ) | throws LaserConsoleException [virtual] |
Remove an alarm console user.
name | the name of the user to remove. |
LaserConsoleException | if the request can not be served. | |
LaserUserNotFoundException | if the user does not exist. |
Implements cern.laser.console.UserHandler.