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 |
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.
|
getDatabase, getHost, getLogger, getPassword, getPort, getUser, setDatabase, setHost, setLogger, setPassword, setPort, setUser
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 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-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.