public class FBUserManager extends FBServiceManager implements UserManager
BUFFER_SIZE| Constructor and Description |
|---|
FBUserManager()
Create a new instance of
FBMaintenanceManager based on the default GDSType. |
FBUserManager(GDSType gdsType)
Create a new instance of
FBMaintenanceManager based on
a given GDSType. |
FBUserManager(java.lang.String gdsType)
Create a new instance of
FBMaintenanceManager based on
a given GDSType. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(User user)
Add a user to the Firebird Security Database.
|
void |
delete(User user)
Delete a user to the Firebird Security Database.
|
void |
dropAdminRoleMapping()
Drops AUTO ADMIN MAPPING from role RDB$ADMIN in security database
|
java.util.Map<java.lang.String,User> |
getUsers()
Return all valid users in the Firebird Security Database.
|
void |
setAdminRoleMapping()
Sets AUTO ADMIN MAPPING for role RDB$ADMIN in security database
|
void |
setSecurityDatabase(java.lang.String securityDatabase)
Sets the security database and therefore overrides the
per default used security database (e.g.
|
void |
update(User user)
Update a user to the Firebird Security Database.
|
attachDatabase, attachServiceManager, connectionPropertyValues, createRequestBuffer, executeServicesOperation, executeServicesOperation, getAuthPlugins, getBooleanProperty, getCharSet, getDatabase, getDbCryptConfig, getExpectedDb, getHost, getIntProperty, getLogger, getPassword, getPort, getPortNumber, getProperty, getServerName, getServerVersion, getServiceName, getUser, getWireCrypt, getWireCryptAsEnum, isWireCompression, queueService, setAuthPlugins, setBooleanProperty, setCharSet, setDatabase, setDbCryptConfig, setExpectedDb, setHost, setIntProperty, setLogger, setPassword, setPort, setPortNumber, setProperty, setServerName, setServiceName, setType, setUser, setWireCompression, setWireCryptAsEnumclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatabase, getHost, getLogger, getPort, getServerVersion, getWireCryptAsEnum, setDatabase, setHost, setLogger, setPort, setWireCryptAsEnumgetExpectedDb, getServiceName, setExpectedDb, setServiceNamegetAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setType, setUser, setWireCompression, setWireCryptconnectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setPropertypublic FBUserManager()
FBMaintenanceManager based on the default GDSType.public FBUserManager(java.lang.String gdsType)
FBMaintenanceManager based on
a given GDSType.gdsType - type must be PURE_JAVA, EMBEDDED, or NATIVEpublic FBUserManager(GDSType gdsType)
FBMaintenanceManager based on
a given GDSType.gdsType - the GDS implementation type to usepublic void add(User user) throws java.sql.SQLException, java.io.IOException
UserManageradd in interface UserManageruser - to the Firebird Security Database.java.sql.SQLExceptionjava.io.IOExceptionpublic void delete(User user) throws java.sql.SQLException, java.io.IOException
UserManagerdelete in interface UserManageruser - to the Firebird Security Database.java.sql.SQLExceptionjava.io.IOExceptionpublic void update(User user) throws java.sql.SQLException, java.io.IOException
UserManagerupdate in interface UserManageruser - to the Firebird Security Database.java.sql.SQLExceptionjava.io.IOExceptionpublic java.util.Map<java.lang.String,User> getUsers() throws java.sql.SQLException, java.io.IOException
UserManagergetUsers in interface UserManagerjava.sql.SQLExceptionjava.io.IOExceptionpublic void setSecurityDatabase(java.lang.String securityDatabase)
UserManagersetSecurityDatabase in interface UserManagersecurityDatabase - name/path of securityDatabasepublic void setAdminRoleMapping()
throws java.sql.SQLException,
java.io.IOException
UserManagersetAdminRoleMapping in interface UserManagerjava.sql.SQLExceptionjava.io.IOExceptionpublic void dropAdminRoleMapping()
throws java.sql.SQLException,
java.io.IOException
UserManagerdropAdminRoleMapping in interface UserManagerjava.sql.SQLExceptionjava.io.IOExceptionCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.