Interface SambaPasswordPluginCfg
-
- All Superinterfaces:
Configuration
,PluginCfg
public interface SambaPasswordPluginCfg extends PluginCfg
A server-side interface for querying Samba Password Plugin settings.Samba Password Synchronization Plugin.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSambaPasswordChangeListener(ConfigurationChangeListener<SambaPasswordPluginCfg> listener)
Register to be notified when this Samba Password Plugin is changed.Class<? extends SambaPasswordPluginCfg>
configurationClass()
Gets the configuration class associated with this Samba Password Plugin.String
getJavaClass()
Gets the "java-class" property.SortedSet<PluginCfgDefn.PluginType>
getPluginType()
Gets the "plugin-type" property.SortedSet<SambaPasswordPluginCfgDefn.PwdSyncPolicy>
getPwdSyncPolicy()
Gets the "pwd-sync-policy" property.Dn
getSambaAdministratorDn()
Gets the "samba-administrator-dn" property.void
removeSambaPasswordChangeListener(ConfigurationChangeListener<SambaPasswordPluginCfg> listener)
Deregister an existing Samba Password Plugin configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.PluginCfg
addChangeListener, isEnabled, isInvokeForInternalOperations, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends SambaPasswordPluginCfg> configurationClass()
Gets the configuration class associated with this Samba Password Plugin.- Specified by:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in interfacePluginCfg
- Returns:
- Returns the configuration class associated with this Samba Password Plugin.
-
addSambaPasswordChangeListener
void addSambaPasswordChangeListener(ConfigurationChangeListener<SambaPasswordPluginCfg> listener)
Register to be notified when this Samba Password Plugin is changed.- Parameters:
listener
- The Samba Password Plugin configuration change listener.
-
removeSambaPasswordChangeListener
void removeSambaPasswordChangeListener(ConfigurationChangeListener<SambaPasswordPluginCfg> listener)
Deregister an existing Samba Password Plugin configuration change listener.- Parameters:
listener
- The Samba Password Plugin configuration change listener.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the plug-in implementation.
Default value:
org.opends.server.plugins.SambaPasswordPlugin
- Specified by:
getJavaClass
in interfacePluginCfg
- Returns:
- Returns the value of the "java-class" property.
-
getPluginType
SortedSet<PluginCfgDefn.PluginType> getPluginType()
Gets the "plugin-type" property.Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.
Default values:
preoperationmodify
,postoperationextended
- Specified by:
getPluginType
in interfacePluginCfg
- Returns:
- Returns an unmodifiable set containing the values of the "plugin-type" property.
-
getPwdSyncPolicy
SortedSet<SambaPasswordPluginCfgDefn.PwdSyncPolicy> getPwdSyncPolicy()
Gets the "pwd-sync-policy" property.Specifies which Samba passwords should be kept synchronized.
Default value:
sync-nt-password
- Returns:
- Returns an unmodifiable set containing the values of the "pwd-sync-policy" property.
-
getSambaAdministratorDn
Dn getSambaAdministratorDn()
Gets the "samba-administrator-dn" property.Specifies the distinguished name of the user which Samba uses to perform Password Modify extended operations against this directory server in order to synchronize the userPassword attribute after the LanMan or NT passwords have been updated.
The user must have the 'password-reset' privilege and should not be a root user. This user name can be used in order to identify Samba connections and avoid double re-synchronization of the same password. If this property is left undefined, then no password updates will be skipped.
- Returns:
- Returns the value of the "samba-administrator-dn" property.
-
-