Package org.firebirdsql.management
Interface UserManager
- All Superinterfaces:
ServiceManager
- All Known Implementing Classes:
FBUserManager
The base Firebird Service API functionality.
- Author:
- Steven Jardine
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a user to the Firebird Security Database.voidDelete a user to the Firebird Security Database.voidDrops AUTO ADMIN MAPPING from role RDB$ADMIN in security databasegetUsers()Return all valid users in the Firebird Security Database.voidSets AUTO ADMIN MAPPING for role RDB$ADMIN in security databasevoidsetSecurityDatabase(String securityDatabase) Sets the security database and therefore overrides the per default used security database (e.g.voidUpdate a user to the Firebird Security Database.Methods inherited from interface org.firebirdsql.management.ServiceManager
getAuthPlugins, getCharSet, getDatabase, getDbCryptConfig, getHost, getLogger, getPassword, getPort, getServerVersion, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setDatabase, setDbCryptConfig, setHost, setLogger, setPassword, setPort, setUser, setWireCompression, setWireCrypt
-
Method Details
-
add
Add a user to the Firebird Security Database.- Parameters:
user- to the Firebird Security Database.- Throws:
SQLExceptionIOException
-
delete
Delete a user to the Firebird Security Database.- Parameters:
user- to the Firebird Security Database.- Throws:
SQLExceptionIOException
-
update
Update a user to the Firebird Security Database.- Parameters:
user- to the Firebird Security Database.- Throws:
SQLExceptionIOException
-
getUsers
Return all valid users in the Firebird Security Database.- Returns:
- all valid users in the Firebird Security Database.
- Throws:
SQLExceptionIOException
-
setSecurityDatabase
Sets the security database and therefore overrides the per default used security database (e.g. security2.fdb) Supported since Firebird 2.1- Parameters:
securityDatabase- name/path of securityDatabase
-
setAdminRoleMapping
Sets AUTO ADMIN MAPPING for role RDB$ADMIN in security database- Throws:
SQLExceptionIOException
-
dropAdminRoleMapping
Drops AUTO ADMIN MAPPING from role RDB$ADMIN in security database- Throws:
SQLExceptionIOException
-