|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAuditConnectionInfo
This interface provides access to variables pertaining to the auditing database connection.
| Nested Class Summary | |
|---|---|
static interface |
IAuditConnectionInfo.CeAuditDatabaseDriver
This interface defines valid audit database drivers. |
| Method Summary | |
|---|---|
java.lang.String |
getDatabaseDriver()
Returns the current auditing database connection driver. |
java.lang.String |
getDsnName()
Returns the data source name for the auditing database connection. |
java.lang.String |
getUserName()
Returns the username credential being used to connect to the auditing database. |
boolean |
getUseTrustedConnection()
Returns the status of the single sign-on flag for the auditing database. |
boolean |
isAuditDBRestartOnConnectionLoss()
Returns the status of the flag for the auditing database to restart when the connection is lost. |
void |
setAuditDBRestartOnConnectionLoss(boolean restart)
Sets the status of the flag for the auditing database to restart when the connection is lost. |
void |
setDatabaseDriver(java.lang.String driver)
Sets the auditing database connection driver for the system to use. |
void |
setDsnName(java.lang.String name)
Sets the auditing database connection data source name |
void |
setPassword(java.lang.String password)
Sets the password credential for the auditing database connection. |
void |
setUserName(java.lang.String userName)
Sets the username credential for the auditing database connection |
void |
setUseTrustedConnection(boolean useTrustedConnection)
Sets the status of the single sign-on flag for the auditing database |
| Method Detail |
|---|
java.lang.String getDatabaseDriver()
java.lang.String getDsnName()
java.lang.String getUserName()
boolean getUseTrustedConnection()
void setDatabaseDriver(java.lang.String driver)
throws SDKException
driver - The database driver of the auditing database connection, expected to be a
String constant from the CeAuditDatabaseDriver interface.
SDKException - This is thrown if the driver parameter is not a valid
entry from the CeAuditDatabaseDriver interface.CeAuditDatabaseDrivervoid setDsnName(java.lang.String name)
name - The DSN used by the auditing database connectionvoid setUserName(java.lang.String userName)
userName - The username to be used by the auditing database connection
void setUseTrustedConnection(boolean useTrustedConnection)
throws SDKException
useTrustedConnection - The use trusted connection flag of the
auditing database connection, it can be set to true only if the
database driver is set to SQL_SERVER_AUDIT_DB_DRIVER.
SDKException - This is thrown if the active auditing database driver
is not set to SQL_SERVER_AUDIT_DB_DRIVER.
void setPassword(java.lang.String password)
throws SDKException
password - The password to be used by the auditing database connection
SDKException - when password is null.boolean isAuditDBRestartOnConnectionLoss()
void setAuditDBRestartOnConnectionLoss(boolean restart)
restart - The status of the flag for the auditing database to restart when
it loses its connection with the CMS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||