public abstract class AdminUserHandler
extends java.lang.Object
AdminUser| Constructor and Description |
|---|
AdminUserHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract AdminUser |
createUser(java.lang.String name,
java.lang.String password)
Create a new administrative user.
|
static AdminUserHandler |
get(org.omg.CORBA.ORB orb,
AcsLogger logger)
Factory method.
|
abstract java.util.Collection |
getUsers()
Get the administrative users.
|
abstract AdminUser |
loginUser(java.lang.String name,
java.lang.String password)
Authenticate an administrative user.
|
abstract void |
removeUser(java.lang.String name)
Remove an administrative user.
|
public static AdminUserHandler get(org.omg.CORBA.ORB orb, AcsLogger logger) throws LaserException, LaserConnectionException
LaserExceptionLaserConnectionExceptionpublic abstract java.util.Collection getUsers()
throws LaserDefinitionException
LaserDefinitionException - if the request can not be servedpublic abstract AdminUser createUser(java.lang.String name, java.lang.String password) throws LaserDefinitionException
LaserDefinitionDuplicationException - if an administrative user with the same name already existsLaserDefinitionException - if the request can not be servedpublic abstract AdminUser loginUser(java.lang.String name, java.lang.String password) throws LaserDefinitionException
LaserDefinitionNotAllowedException - if the user can not be authenticatedLaserDefinitionException - if the request can not be servedpublic abstract void removeUser(java.lang.String name)
throws LaserDefinitionException
LaserDefinitionNotFoundException - if the user does not existLaserDefinitionException - if the request can not be served