Package org.forgerock.audit.handlers.csv
Class CsvAuditEventHandlerConfiguration.CsvSecurity
java.lang.Object
org.forgerock.audit.handlers.csv.CsvAuditEventHandlerConfiguration.CsvSecurity
- Enclosing class:
- CsvAuditEventHandlerConfiguration
Contains the configuration parameters to configure tamper evident logging.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the location of the keystore to be used.Get the key store handler name.Gets the password of the keystore.Gets the signature's interval.Get'sgetSignatureInterval()
value as aDuration
.boolean
Gets tamper evident logging enabled status.void
setEnabled
(boolean enabled) Enables tamper evident logging.void
setFilename
(String filename) Sets the location of the keystore to be used.void
setKeyStoreHandlerName
(String keyStoreName) Set the key store handler name.void
setPassword
(String password) Sets the password of the keystore.void
setSignatureInterval
(String signatureInterval) Sets the signature's interval.
-
Constructor Details
-
CsvSecurity
public CsvSecurity()
-
-
Method Details
-
setEnabled
public void setEnabled(boolean enabled) Enables tamper evident logging. By default tamper evident logging is disabled.- Parameters:
enabled
- True - To enable tamper evident logging. False - To disable tamper evident logging.
-
isEnabled
public boolean isEnabled()Gets tamper evident logging enabled status. By default tamper evident logging is disabled.- Returns:
- True - If tamper evident logging enabled. False - If tamper evident logging disabled.
-
setFilename
Sets the location of the keystore to be used.- Parameters:
filename
- The location of the keystore.
-
getFilename
Gets the location of the keystore to be used.- Returns:
- The location of the keystore.
-
setPassword
Sets the password of the keystore.- Parameters:
password
- The password of the keystore.
-
getPassword
Gets the password of the keystore.- Returns:
- The password of the keystore.
-
setSignatureInterval
Sets the signature's interval.- Parameters:
signatureInterval
- The time's interval to insert periodically a signature.
-
getSignatureInterval
Gets the signature's interval.- Returns:
- The time's interval to insert periodically a signature.
-
getSignatureIntervalDuration
Get'sgetSignatureInterval()
value as aDuration
.- Returns:
- The signature internval as a Duration object.
-
setKeyStoreHandlerName
Set the key store handler name.- Parameters:
keyStoreName
- The name.
-
getKeyStoreHandlerName
Get the key store handler name.- Returns:
- The name.
-