Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::laser::definition::AdminUserHandler Class Reference

Inheritance diagram for cern::laser::definition::AdminUserHandler:

Inheritance graph
[legend]
Collaboration diagram for cern::laser::definition::AdminUserHandler:

Collaboration graph
[legend]
List of all members.

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

AdminUserHandler get () throws LaserException, LaserConnectionException

Static Private Attributes

AdminUserHandler instance = null

Detailed Description

Provides the service to handle adminitrative users.
See also:
cern.laser.definition.AdminUser


Member Function Documentation

abstract AdminUser cern::laser::definition::AdminUserHandler::createUser String  name,
String  password
throws LaserDefinitionException [pure virtual]
 

Create a new administrative user.

Exceptions:
LaserDefinitionDuplicationException if an administrative user with the same name already exists
LaserDefinitionException if the request can not be served
Returns:
the administrative user

Implemented in cern::laser::definition::impl::AdminUserHandlerImpl.

AdminUserHandler cern::laser::definition::AdminUserHandler::get  )  throws LaserException, LaserConnectionException [inline, static]
 

Factory method.

Returns:
an instance of the implementation class
Exceptions:
LaserException 
LaserConnectionException 

abstract Collection cern::laser::definition::AdminUserHandler::getUsers  )  throws LaserDefinitionException [pure virtual]
 

Get the administrative users.

Exceptions:
LaserDefinitionException if the request can not be served
Returns:
the defined administrative users

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.

Exceptions:
LaserDefinitionNotAllowedException if the user can not be authenticated
LaserDefinitionException if the request can not be served
Returns:
the administrative user

Implemented in cern::laser::definition::impl::AdminUserHandlerImpl.

abstract void cern::laser::definition::AdminUserHandler::removeUser String  name  )  throws LaserDefinitionException [pure virtual]
 

Remove an administrative user.

Exceptions:
LaserDefinitionNotFoundException if the user does not exist
LaserDefinitionException if the request can not be served

Implemented in cern::laser::definition::impl::AdminUserHandlerImpl.


Member Data Documentation

AdminUserHandler cern::laser::definition::AdminUserHandler::instance = null [static, private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:01 2009 for ACS Java API by doxygen 1.3.8