Package com.netscape.cms.profile.updater
Class SubsystemGroupUpdater
java.lang.Object
com.netscape.cms.profile.updater.SubsystemGroupUpdater
- All Implemented Interfaces:
IConfigTemplate
,IProfileUpdater
This updater class will create the new user to the subsystem group and
then add the subsystem certificate to the user.
This code is used in caInternalAuthSubsystemCert and
caECInternalAuthSubsystemCert profiles.
See also UpdateConnector.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves configuration parameter by name.getConfigDescriptor
(Locale locale, String name) Returns the descriptors of configuration parameter.Returns a list of configuration parameter names.Retrieves configuration store.Retrieves the localizable name of this policy.Retrieves the localizable description of this policy.void
init
(Profile profile, ConfigStore config) Initializes this default policy.void
Sets configuration parameter.void
update
(Request req, RequestStatus status) Notifies of state change.
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
SubsystemGroupUpdater
public SubsystemGroupUpdater()
-
-
Method Details
-
init
Description copied from interface:IProfileUpdater
Initializes this default policy.- Specified by:
init
in interfaceIProfileUpdater
- Parameters:
profile
- owner of this policyconfig
- configuration store- Throws:
EProfileException
- failed to initialize
-
getConfigNames
Description copied from interface:IConfigTemplate
Returns a list of configuration parameter names.- Specified by:
getConfigNames
in interfaceIConfigTemplate
- Returns:
- parameter names
-
getConfigDescriptor
Description copied from interface:IConfigTemplate
Returns the descriptors of configuration parameter.- Specified by:
getConfigDescriptor
in interfaceIConfigTemplate
- Parameters:
locale
- user localename
- configuration parameter name- Returns:
- descriptor
-
setConfig
Description copied from interface:IConfigTemplate
Sets configuration parameter.- Specified by:
setConfig
in interfaceIConfigTemplate
- Parameters:
name
- parameter namevalue
- parameter value- Throws:
EPropertyException
- failed to set parameter
-
getConfig
Description copied from interface:IConfigTemplate
Retrieves configuration parameter by name.- Specified by:
getConfig
in interfaceIConfigTemplate
- Returns:
- parameter
-
getConfigStore
Description copied from interface:IProfileUpdater
Retrieves configuration store.- Specified by:
getConfigStore
in interfaceIProfileUpdater
- Returns:
- configuration store
-
update
Description copied from interface:IProfileUpdater
Notifies of state change.- Specified by:
update
in interfaceIProfileUpdater
- Parameters:
req
- requeststatus
- The status to check for.- Throws:
EProfileException
- failed to populate
-
getName
Description copied from interface:IProfileUpdater
Retrieves the localizable name of this policy.- Specified by:
getName
in interfaceIProfileUpdater
- Parameters:
locale
- user locale- Returns:
- output policy name
-
getText
Description copied from interface:IProfileUpdater
Retrieves the localizable description of this policy.- Specified by:
getText
in interfaceIProfileUpdater
- Parameters:
locale
- user locale- Returns:
- output policy description
-