Public Member Functions | Static Public Member Functions

cern.laser.definition.AdminUserHandler Class Reference

Inheritance diagram for cern.laser.definition.AdminUserHandler:
cern.laser.definition.impl.AdminUserHandlerImpl

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

static AdminUserHandler get (ORB orb, AcsLogger logger) throws LaserException, LaserConnectionException

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.

static AdminUserHandler cern.laser.definition.AdminUserHandler.get ( ORB  orb,
AcsLogger  logger 
) throws LaserException, LaserConnectionException [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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties