|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserManager
The base Firebird Service API functionality.
Method Summary | |
---|---|
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. security2.fdb) Supported since Firebird 2.1 |
void |
update(User user)
Update a user to the Firebird Security Database. |
Methods inherited from interface org.firebirdsql.management.ServiceManager |
---|
getDatabase, getHost, getLogger, getPassword, getPort, getUser, setDatabase, setHost, setLogger, setPassword, setPort, setUser |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |