Package org.firebirdsql.management
Interface UserManager
- 
- All Superinterfaces:
- AttachmentProperties,- BaseProperties,- ServiceConnectionProperties,- ServiceManager
 - All Known Implementing Classes:
- FBUserManager
 
 public interface UserManager extends ServiceManager The base Firebird Service API functionality.- Author:
- Steven Jardine
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(User user)Add a user to the Firebird Security Database.voiddelete(User user)Delete a user to the Firebird Security Database.voiddropAdminRoleMapping()Drops AUTO ADMIN MAPPING from role RDB$ADMIN in security databasejava.util.Map<java.lang.String,User>getUsers()Return all valid users in the Firebird Security Database.voidsetAdminRoleMapping()Sets AUTO ADMIN MAPPING for role RDB$ADMIN in security databasevoidsetSecurityDatabase(java.lang.String securityDatabase)Sets the security database and therefore overrides the per default used security database (e.g.voidupdate(User user)Update a user to the Firebird Security Database.- 
Methods inherited from interface org.firebirdsql.jaybird.props.AttachmentPropertiesgetAuthPlugins, 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, setWireCrypt
 - 
Methods inherited from interface org.firebirdsql.jaybird.props.BasePropertiesconnectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
 - 
Methods inherited from interface org.firebirdsql.jaybird.props.ServiceConnectionPropertiesgetExpectedDb, getServiceName, setExpectedDb, setServiceName
 - 
Methods inherited from interface org.firebirdsql.management.ServiceManagergetDatabase, getHost, getLogger, getPort, getServerVersion, getWireCryptAsEnum, setDatabase, setHost, setLogger, setPort, setWireCryptAsEnum
 
- 
 
- 
- 
- 
Method Detail- 
addvoid add(User user) throws java.sql.SQLException, java.io.IOException Add a user to the Firebird Security Database.- Parameters:
- user- to the Firebird Security Database.
- Throws:
- java.sql.SQLException
- java.io.IOException
 
 - 
deletevoid delete(User user) throws java.sql.SQLException, java.io.IOException Delete a user to the Firebird Security Database.- Parameters:
- user- to the Firebird Security Database.
- Throws:
- java.sql.SQLException
- java.io.IOException
 
 - 
updatevoid update(User user) throws java.sql.SQLException, java.io.IOException Update a user to the Firebird Security Database.- Parameters:
- user- to the Firebird Security Database.
- Throws:
- java.sql.SQLException
- java.io.IOException
 
 - 
getUsersjava.util.Map<java.lang.String,User> getUsers() throws java.sql.SQLException, java.io.IOException Return all valid users in the Firebird Security Database.- Returns:
- all valid users in the Firebird Security Database.
- Throws:
- java.sql.SQLException
- java.io.IOException
 
 - 
setSecurityDatabasevoid 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- Parameters:
- securityDatabase- name/path of securityDatabase
 
 - 
setAdminRoleMappingvoid setAdminRoleMapping() throws java.sql.SQLException, java.io.IOExceptionSets AUTO ADMIN MAPPING for role RDB$ADMIN in security database- Throws:
- java.sql.SQLException
- java.io.IOException
 
 - 
dropAdminRoleMappingvoid dropAdminRoleMapping() throws java.sql.SQLException, java.io.IOExceptionDrops AUTO ADMIN MAPPING from role RDB$ADMIN in security database- Throws:
- java.sql.SQLException
- java.io.IOException
 
 
- 
 
-