

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 () throws LaserException, LaserConnectionException |
Static Private Attributes | |
| static AdminUserHandler | instance = null |
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 | ( | ) | throws LaserException, LaserConnectionException [inline, static] |
Factory method.
| LaserException | ||
| LaserConnectionException |
References instance.
| 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.
Referenced by cern::laser::definition::impl::TestAdminUser::TestAdminUser(), cern::laser::definition::impl::TestRemoveAlarm::TestRemoveAlarm(), cern::laser::definition::impl::TestXmlDownload::TestXmlDownload(), and cern::laser::definition::impl::TestXmlUpload::TestXmlUpload().
| 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.
AdminUserHandler cern::laser::definition::AdminUserHandler::instance = null [static, private] |
Referenced by get().
1.6.2