Interface TrustStoreBackendCfgClient
-
- All Superinterfaces:
BackendCfgClient,ConfigurationClient,LocalBackendCfgClient
public interface TrustStoreBackendCfgClient extends LocalBackendCfgClient
A client-side interface for reading and modifying Trust Store Backend settings.The Trust Store Backend provides an LDAP view of a file-based trust store. It is used by the administrative cryptographic framework.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends TrustStoreBackendCfgClient,? extends TrustStoreBackendCfg>definition()Get the configuration definition associated with this Trust Store Backend.StringgetJavaClass()Gets the "java-class" property.StringgetTrustStoreFile()Gets the "trust-store-file" property.StringgetTrustStorePin()Gets the "trust-store-pin" property.StringgetTrustStorePinEnvironmentVariable()Gets the "trust-store-pin-environment-variable" property.StringgetTrustStorePinFile()Gets the "trust-store-pin-file" property.StringgetTrustStorePinProperty()Gets the "trust-store-pin-property" property.StringgetTrustStoreType()Gets the "trust-store-type" property.LocalBackendCfgDefn.WritabilityModegetWritabilityMode()Gets the "writability-mode" property.voidsetJavaClass(String value)Sets the "java-class" property.voidsetTrustStoreFile(String value)Sets the "trust-store-file" property.voidsetTrustStorePin(String value)Sets the "trust-store-pin" property.voidsetTrustStorePinEnvironmentVariable(String value)Sets the "trust-store-pin-environment-variable" property.voidsetTrustStorePinFile(String value)Sets the "trust-store-pin-file" property.voidsetTrustStorePinProperty(String value)Sets the "trust-store-pin-property" property.voidsetTrustStoreType(String value)Sets the "trust-store-type" property.voidsetWritabilityMode(LocalBackendCfgDefn.WritabilityMode value)Sets the "writability-mode" property.-
Methods inherited from interface org.forgerock.opendj.server.config.client.BackendCfgClient
getBackendId, getBaseDN, isEnabled, setBackendId, setBaseDN, setEnabled
-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends TrustStoreBackendCfgClient,? extends TrustStoreBackendCfg> definition()
Get the configuration definition associated with this Trust Store Backend.- Specified by:
definitionin interfaceBackendCfgClient- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceLocalBackendCfgClient- Returns:
- Returns the configuration definition associated with this Trust Store Backend.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Specified by:
getJavaClassin interfaceBackendCfgClient- Specified by:
getJavaClassin interfaceLocalBackendCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
void setJavaClass(String value) throws PropertyException
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Specified by:
setJavaClassin interfaceBackendCfgClient- Specified by:
setJavaClassin interfaceLocalBackendCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getTrustStoreFile
String getTrustStoreFile()
Gets the "trust-store-file" property.Specifies the path to the file that stores the trust information.
It may be an absolute path, or a path that is relative to the OpenDJ instance root.
- Returns:
- Returns the value of the "trust-store-file" property.
-
setTrustStoreFile
void setTrustStoreFile(String value) throws PropertyException
Sets the "trust-store-file" property.Specifies the path to the file that stores the trust information.
It may be an absolute path, or a path that is relative to the OpenDJ instance root.
- Parameters:
value- The value of the "trust-store-file" property.- Throws:
PropertyException- If the new value is invalid.
-
getTrustStorePin
String getTrustStorePin()
Gets the "trust-store-pin" property.Specifies the clear-text PIN needed to access the Trust Store Backend .
- Returns:
- Returns the value of the "trust-store-pin" property.
-
setTrustStorePin
void setTrustStorePin(String value) throws PropertyException
Sets the "trust-store-pin" property.Specifies the clear-text PIN needed to access the Trust Store Backend .
- Parameters:
value- The value of the "trust-store-pin" property.- Throws:
PropertyException- If the new value is invalid.
-
getTrustStorePinEnvironmentVariable
String getTrustStorePinEnvironmentVariable()
Gets the "trust-store-pin-environment-variable" property.Specifies the name of the environment variable that contains the clear-text PIN needed to access the Trust Store Backend .
- Returns:
- Returns the value of the "trust-store-pin-environment-variable" property.
-
setTrustStorePinEnvironmentVariable
void setTrustStorePinEnvironmentVariable(String value) throws PropertyException
Sets the "trust-store-pin-environment-variable" property.Specifies the name of the environment variable that contains the clear-text PIN needed to access the Trust Store Backend .
- Parameters:
value- The value of the "trust-store-pin-environment-variable" property.- Throws:
PropertyException- If the new value is invalid.
-
getTrustStorePinFile
String getTrustStorePinFile()
Gets the "trust-store-pin-file" property.Specifies the path to the text file whose only contents should be a single line containing the clear-text PIN needed to access the Trust Store Backend .
- Returns:
- Returns the value of the "trust-store-pin-file" property.
-
setTrustStorePinFile
void setTrustStorePinFile(String value) throws PropertyException
Sets the "trust-store-pin-file" property.Specifies the path to the text file whose only contents should be a single line containing the clear-text PIN needed to access the Trust Store Backend .
- Parameters:
value- The value of the "trust-store-pin-file" property.- Throws:
PropertyException- If the new value is invalid.
-
getTrustStorePinProperty
String getTrustStorePinProperty()
Gets the "trust-store-pin-property" property.Specifies the name of the Java property that contains the clear-text PIN needed to access the Trust Store Backend .
- Returns:
- Returns the value of the "trust-store-pin-property" property.
-
setTrustStorePinProperty
void setTrustStorePinProperty(String value) throws PropertyException
Sets the "trust-store-pin-property" property.Specifies the name of the Java property that contains the clear-text PIN needed to access the Trust Store Backend .
- Parameters:
value- The value of the "trust-store-pin-property" property.- Throws:
PropertyException- If the new value is invalid.
-
getTrustStoreType
String getTrustStoreType()
Gets the "trust-store-type" property.Specifies the format for the data in the key store file.
Valid values should always include 'JKS' and 'PKCS12', but different implementations may allow other values as well.
- Returns:
- Returns the value of the "trust-store-type" property.
-
setTrustStoreType
void setTrustStoreType(String value) throws PropertyException
Sets the "trust-store-type" property.Specifies the format for the data in the key store file.
Valid values should always include 'JKS' and 'PKCS12', but different implementations may allow other values as well.
- Parameters:
value- The value of the "trust-store-type" property.- Throws:
PropertyException- If the new value is invalid.
-
getWritabilityMode
LocalBackendCfgDefn.WritabilityMode getWritabilityMode()
Gets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Specified by:
getWritabilityModein interfaceLocalBackendCfgClient- Returns:
- Returns the value of the "writability-mode" property.
-
setWritabilityMode
void setWritabilityMode(LocalBackendCfgDefn.WritabilityMode value) throws PropertyException
Sets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Specified by:
setWritabilityModein interfaceLocalBackendCfgClient- Parameters:
value- The value of the "writability-mode" property.- Throws:
PropertyException- If the new value is invalid.
-
-