public interface OpenidmAccountStatusNotificationHandlerCfgClient
extends org.forgerock.opendj.server.config.client.AccountStatusNotificationHandlerCfgClient
The Openidm Account Status Notification Handler is an account status notification handler that listens to two kind of changes: password change and password reset. The changes are either immediately sent to OpenIDM or first stored locally and sent later to OpenIDM at the provided interval. The communication with OpenIDM is done through HTTP or HTTPS, with optional SSL client authentication.
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.ManagedObjectDefinition<? extends OpenidmAccountStatusNotificationHandlerCfgClient,? extends OpenidmAccountStatusNotificationHandlerCfg> |
definition()
Get the configuration definition associated with this Openidm Account Status Notification Handler.
|
SortedSet<org.forgerock.opendj.ldap.schema.AttributeType> |
getAttributeType()
Gets the "attribute-type" property.
|
org.forgerock.opendj.ldap.DN |
getCertificateSubjectDN()
Gets the "certificate-subject-dn" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
String |
getKeyManagerProvider()
Gets the "key-manager-provider" property.
|
String |
getLogFile()
Gets the "log-file" property.
|
OpenidmAccountStatusNotificationHandlerCfgDefn.OpenidmCompatMode |
getOpenidmCompatMode()
Gets the "openidm-compat-mode" property.
|
String |
getOpenidmPassword()
Gets the "openidm-password" property.
|
String |
getOpenidmUrl()
Gets the "openidm-url" property.
|
String |
getOpenidmUsername()
Gets the "openidm-username" property.
|
String |
getPasswordAttribute()
Gets the "password-attribute" property.
|
String |
getPrivateKeyAlias()
Gets the "private-key-alias" property.
|
String |
getQueryId()
Gets the "query-id" property.
|
String |
getSSLCertNickname()
Gets the "ssl-cert-nickname" property.
|
String |
getTrustManagerProvider()
Gets the "trust-manager-provider" property.
|
long |
getUpdateInterval()
Gets the "update-interval" property.
|
void |
setAttributeType(Collection<org.forgerock.opendj.ldap.schema.AttributeType> values)
Sets the "attribute-type" property.
|
void |
setCertificateSubjectDN(org.forgerock.opendj.ldap.DN value)
Sets the "certificate-subject-dn" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setKeyManagerProvider(String value)
Sets the "key-manager-provider" property.
|
void |
setLogFile(String value)
Sets the "log-file" property.
|
void |
setOpenidmCompatMode(OpenidmAccountStatusNotificationHandlerCfgDefn.OpenidmCompatMode value)
Sets the "openidm-compat-mode" property.
|
void |
setOpenidmPassword(String value)
Sets the "openidm-password" property.
|
void |
setOpenidmUrl(String value)
Sets the "openidm-url" property.
|
void |
setOpenidmUsername(String value)
Sets the "openidm-username" property.
|
void |
setPasswordAttribute(String value)
Sets the "password-attribute" property.
|
void |
setPrivateKeyAlias(String value)
Sets the "private-key-alias" property.
|
void |
setQueryId(String value)
Sets the "query-id" property.
|
void |
setSSLCertNickname(String value)
Sets the "ssl-cert-nickname" property.
|
void |
setTrustManagerProvider(String value)
Sets the "trust-manager-provider" property.
|
void |
setUpdateInterval(long value)
Sets the "update-interval" property.
|
org.forgerock.opendj.config.ManagedObjectDefinition<? extends OpenidmAccountStatusNotificationHandlerCfgClient,? extends OpenidmAccountStatusNotificationHandlerCfg> definition()
definition in interface org.forgerock.opendj.server.config.client.AccountStatusNotificationHandlerCfgClientdefinition in interface org.forgerock.opendj.config.ConfigurationClientSortedSet<org.forgerock.opendj.ldap.schema.AttributeType> getAttributeType()
Specifies the attribute types that this plug-in will send along with the password change.
Zero or more attribute types can be specified.
void setAttributeType(Collection<org.forgerock.opendj.ldap.schema.AttributeType> values) throws org.forgerock.opendj.config.PropertyException
Specifies the attribute types that this plug-in will send along with the password change.
Zero or more attribute types can be specified.
values - The values of the "attribute-type" property.org.forgerock.opendj.config.PropertyException - If one or more of the new values are invalid.org.forgerock.opendj.ldap.DN getCertificateSubjectDN()
Specifies the subject DN of the certificate used by OpenIDM.
The subject DN is used to retrieve the OpenIDM certificate in the truststore. This certificate's public key is necessary to encrypt the JSON content sent to OpenIDM.
void setCertificateSubjectDN(org.forgerock.opendj.ldap.DN value)
throws org.forgerock.opendj.config.PropertyException
Specifies the subject DN of the certificate used by OpenIDM.
The subject DN is used to retrieve the OpenIDM certificate in the truststore. This certificate's public key is necessary to encrypt the JSON content sent to OpenIDM.
value - The value of the "certificate-subject-dn" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Openidm Account Status Notification Handler implementation.
getJavaClass in interface org.forgerock.opendj.server.config.client.AccountStatusNotificationHandlerCfgClientvoid setJavaClass(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the fully-qualified name of the Java class that provides the Openidm Account Status Notification Handler implementation.
setJavaClass in interface org.forgerock.opendj.server.config.client.AccountStatusNotificationHandlerCfgClientvalue - The value of the "java-class" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getKeyManagerProvider()
Specifies the name of the key manager that should be used with this Openidm Account Status Notification Handler.
It must be provided when ssl-cert-nickname is provided, and must contain a certificate corresponding to the nickname.
void setKeyManagerProvider(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the name of the key manager that should be used with this Openidm Account Status Notification Handler.
It must be provided when ssl-cert-nickname is provided, and must contain a certificate corresponding to the nickname.
value - The value of the "key-manager-provider" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getLogFile()
Specifies the log file location where the changed passwords are written when the plug-in cannot contact OpenIDM.
The default location is the logs directory of the server instance, using the file name "pwsync". Passwords in this file will be encrypted.
void setLogFile(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the log file location where the changed passwords are written when the plug-in cannot contact OpenIDM.
The default location is the logs directory of the server instance, using the file name "pwsync". Passwords in this file will be encrypted.
value - The value of the "log-file" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.OpenidmAccountStatusNotificationHandlerCfgDefn.OpenidmCompatMode getOpenidmCompatMode()
Specifies OpenIDM Compatibility Mode.
void setOpenidmCompatMode(OpenidmAccountStatusNotificationHandlerCfgDefn.OpenidmCompatMode value) throws org.forgerock.opendj.config.PropertyException
Specifies OpenIDM Compatibility Mode.
value - The value of the "openidm-compat-mode" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getOpenidmPassword()
Specifies the password to use for HTTP Basic Authentication.
The password must be provided when client certification is not activated, i.e. when no ssl-cert-nickname is provided.
void setOpenidmPassword(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the password to use for HTTP Basic Authentication.
The password must be provided when client certification is not activated, i.e. when no ssl-cert-nickname is provided.
value - The value of the "openidm-password" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getOpenidmUrl()
Specifies the URL to OpenIDM endpoint.
The URL can be either HTTP or HTTPS.
void setOpenidmUrl(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the URL to OpenIDM endpoint.
The URL can be either HTTP or HTTPS.
value - The value of the "openidm-url" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getOpenidmUsername()
Specifies the username to use for HTTP Basic Authentication.
The username must be provided when client certification is not activated, i.e. when no ssl-cert-nickname is provided.
void setOpenidmUsername(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the username to use for HTTP Basic Authentication.
The username must be provided when client certification is not activated, i.e. when no ssl-cert-nickname is provided.
value - The value of the "openidm-username" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getPasswordAttribute()
Specifies the attribute type used to hold user passwords in JSON returned to OpenIDM.
This attribute type must be defined in the managed object schema in OpenIDM, and it must have either the user password or auth password syntax.
void setPasswordAttribute(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the attribute type used to hold user passwords in JSON returned to OpenIDM.
This attribute type must be defined in the managed object schema in OpenIDM, and it must have either the user password or auth password syntax.
value - The value of the "password-attribute" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getPrivateKeyAlias()
Specifies the alias of the private key that should be used by OpenIDM to decrypt the encrypted JSON content of the requests.
The encryption of the JSON content sent to OpenIDM requires this alias.
void setPrivateKeyAlias(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the alias of the private key that should be used by OpenIDM to decrypt the encrypted JSON content of the requests.
The encryption of the JSON content sent to OpenIDM requires this alias.
value - The value of the "private-key-alias" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getQueryId()
Specifies the query-id for the patch-by-query request.
This must match the query ID defined in the managed object service in OpenIDM.
void setQueryId(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the query-id for the patch-by-query request.
This must match the query ID defined in the managed object service in OpenIDM.
value - The value of the "query-id" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getSSLCertNickname()
Specifies the SSL certificate nickname, which is the alias under which is stored the client certificate in the keystore. It must be provided to activate SSL client authentication when requesting OpenIDM.
The SSL certificate nickname is necessary to ensure that the appropriate client certificate is retrieved from the keystore when SSL client authentication is required and multiples certificates are present in the keystore.
void setSSLCertNickname(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the SSL certificate nickname, which is the alias under which is stored the client certificate in the keystore. It must be provided to activate SSL client authentication when requesting OpenIDM.
The SSL certificate nickname is necessary to ensure that the appropriate client certificate is retrieved from the keystore when SSL client authentication is required and multiples certificates are present in the keystore.
value - The value of the "ssl-cert-nickname" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.String getTrustManagerProvider()
Specifies the name of the trust manager that should be used with the Openidm Account Status Notification Handler.
It must contain the OpenIDM certificate with the subject DN equals to the certificate-subject-dn property.
void setTrustManagerProvider(String value) throws org.forgerock.opendj.config.PropertyException
Specifies the name of the trust manager that should be used with the Openidm Account Status Notification Handler.
It must contain the OpenIDM certificate with the subject DN equals to the certificate-subject-dn property.
value - The value of the "trust-manager-provider" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.long getUpdateInterval()
Specifies the interval when passwords update notifications are sent.
If this value is 0, then updates are sent synchronously. If this value is strictly superior to zero, then updates are first stored locally, then sent asynchronously by a background thread.
void setUpdateInterval(long value)
throws org.forgerock.opendj.config.PropertyException
Specifies the interval when passwords update notifications are sent.
If this value is 0, then updates are sent synchronously. If this value is strictly superior to zero, then updates are first stored locally, then sent asynchronously by a background thread.
value - The value of the "update-interval" property.org.forgerock.opendj.config.PropertyException - If the new value is invalid.Copyright © 2017-2020 Wren Security. All Rights Reserved.