org.firebirdsql.management
Class FBUserManager
- ServiceManager, UserManager
public class FBUserManager
Implements the display/add/delete/modify user functionality of the Firebird
Services API.
FBUserManager() - Create a new instance of
FBMaintenanceManager based on
the default GDSType.
|
FBUserManager(String gdsType) - Create a new instance of
FBMaintenanceManager based on
a given GDSType.
|
FBUserManager(org.firebirdsql.gds.impl.GDSType gdsType) - Create a new instance of
FBMaintenanceManager based on
a given GDSType.
|
void | add(User user) - Add a user to the Firebird Security Database.
|
void | delete(User user) - Delete a user to the Firebird Security Database.
|
Map | getUsers() - Return all valid users in the Firebird Security Database.
|
void | update(User user) - Update a user to the Firebird Security Database.
|
attachServiceManager , createRequestBuffer , detachServiceManager , executeServicesOperation , getDatabase , getGds , getHost , getLogger , getPassword , getPort , getServiceName , getUser , queueService , setDatabase , setHost , setLogger , setPassword , setPort , setUser |
FBUserManager
public FBUserManager()
Create a new instance of FBMaintenanceManager
based on
the default GDSType.
FBUserManager
public FBUserManager(String gdsType)
Create a new instance of FBMaintenanceManager
based on
a given GDSType.
gdsType
- type must be PURE_JAVA, EMBEDDED, or NATIVE
FBUserManager
public FBUserManager(org.firebirdsql.gds.impl.GDSType gdsType)
Create a new instance of FBMaintenanceManager
based on
a given GDSType.
gdsType
- The GDS implementation type to use
add
public void add(User user)
throws SQLException,
IOException
Add a user to the Firebird Security Database.
- add in interface UserManager
user
- to the Firebird Security Database.
delete
public void delete(User user)
throws SQLException,
IOException
Delete a user to the Firebird Security Database.
- delete in interface UserManager
user
- to the Firebird Security Database.
getUsers
public Map getUsers()
throws SQLException,
IOException
Return all valid users in the Firebird Security Database.
- getUsers in interface UserManager
- all valid users in the Firebird Security Database.
update
public void update(User user)
throws SQLException,
IOException
Update a user to the Firebird Security Database.
- update in interface UserManager
user
- to the Firebird Security Database.
Copyright B) 2001 David Jencks and other authors. All rights reserved.