Public Member Functions | |
abstract Collection | getUsers () throws LaserDefinitionException |
abstract AdminUser | createUser (String name, String password) throws LaserDefinitionException |
abstract AdminUser | loginUser (String name, String password) throws LaserDefinitionException |
abstract void | removeUser (String name) throws LaserDefinitionException |
Static Public Member Functions | |
static AdminUserHandler | get (ORB orb, AcsLogger logger) throws LaserException, LaserConnectionException |
Provides the service to handle adminitrative users.
abstract AdminUser cern.laser.definition.AdminUserHandler.createUser | ( | String | name, | |
String | password | |||
) | throws LaserDefinitionException [pure virtual] |
Create a new administrative user.
LaserDefinitionDuplicationException | if an administrative user with the same name already exists | |
LaserDefinitionException | if the request can not be served |
Implemented in cern.laser.definition.impl.AdminUserHandlerImpl.
static AdminUserHandler cern.laser.definition.AdminUserHandler.get | ( | ORB | orb, | |
AcsLogger | logger | |||
) | throws LaserException, LaserConnectionException [static] |
Factory method.
LaserException | ||
LaserConnectionException |
abstract Collection cern.laser.definition.AdminUserHandler.getUsers | ( | ) | throws LaserDefinitionException [pure virtual] |
Get the administrative users.
LaserDefinitionException | if the request can not be served |
Implemented in cern.laser.definition.impl.AdminUserHandlerImpl.
abstract AdminUser cern.laser.definition.AdminUserHandler.loginUser | ( | String | name, | |
String | password | |||
) | throws LaserDefinitionException [pure virtual] |
Authenticate an administrative user.
LaserDefinitionNotAllowedException | if the user can not be authenticated | |
LaserDefinitionException | if the request can not be served |
Implemented in cern.laser.definition.impl.AdminUserHandlerImpl.
abstract void cern.laser.definition.AdminUserHandler.removeUser | ( | String | name | ) | throws LaserDefinitionException [pure virtual] |
Remove an administrative user.
LaserDefinitionNotFoundException | if the user does not exist | |
LaserDefinitionException | if the request can not be served |
Implemented in cern.laser.definition.impl.AdminUserHandlerImpl.