Package org.forgerock.audit.handlers.csv
Class CsvAuditEventHandlerConfiguration.CsvSecurity
- java.lang.Object
-
- org.forgerock.audit.handlers.csv.CsvAuditEventHandlerConfiguration.CsvSecurity
-
- Enclosing class:
- CsvAuditEventHandlerConfiguration
public static class CsvAuditEventHandlerConfiguration.CsvSecurity extends Object
Contains the configuration parameters to configure tamper evident logging.
-
-
Constructor Summary
Constructors Constructor Description CsvSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFilename()
Gets the location of the keystore to be used.String
getKeyStoreHandlerName()
Get the key store handler name.String
getPassword()
Gets the password of the keystore.String
getSignatureInterval()
Gets the signature's interval.Duration
getSignatureIntervalDuration()
Get'sgetSignatureInterval()
value as aDuration
.boolean
isEnabled()
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.
-
-
-
Method Detail
-
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
public void setFilename(String filename)
Sets the location of the keystore to be used.- Parameters:
filename
- The location of the keystore.
-
getFilename
public String getFilename()
Gets the location of the keystore to be used.- Returns:
- The location of the keystore.
-
setPassword
public void setPassword(String password)
Sets the password of the keystore.- Parameters:
password
- The password of the keystore.
-
getPassword
public String getPassword()
Gets the password of the keystore.- Returns:
- The password of the keystore.
-
setSignatureInterval
public void setSignatureInterval(String signatureInterval)
Sets the signature's interval.- Parameters:
signatureInterval
- The time's interval to insert periodically a signature.
-
getSignatureInterval
public String getSignatureInterval()
Gets the signature's interval.- Returns:
- The time's interval to insert periodically a signature.
-
getSignatureIntervalDuration
public Duration getSignatureIntervalDuration()
Get'sgetSignatureInterval()
value as aDuration
.- Returns:
- The signature internval as a Duration object.
-
setKeyStoreHandlerName
public void setKeyStoreHandlerName(String keyStoreName)
Set the key store handler name.- Parameters:
keyStoreName
- The name.
-
getKeyStoreHandlerName
public String getKeyStoreHandlerName()
Get the key store handler name.- Returns:
- The name.
-
-