public interface UserManager extends ServiceManager
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.
|
getCharSet, getDatabase, getDbCryptConfig, getHost, getLogger, getPassword, getPort, getServerVersion, getUser, getWireCrypt, setCharSet, setDatabase, setDbCryptConfig, setHost, setLogger, setPassword, setPort, setUser, setWireCrypt
void add(User user) throws java.sql.SQLException, java.io.IOException
user
- to the Firebird Security Database.java.sql.SQLException
java.io.IOException
void delete(User user) throws java.sql.SQLException, java.io.IOException
user
- to the Firebird Security Database.java.sql.SQLException
java.io.IOException
void update(User user) throws java.sql.SQLException, java.io.IOException
user
- to the Firebird Security Database.java.sql.SQLException
java.io.IOException
java.util.Map<java.lang.String,User> getUsers() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
void setSecurityDatabase(java.lang.String securityDatabase)
securityDatabase
- name/path of securityDatabasevoid setAdminRoleMapping() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
void dropAdminRoleMapping() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.