Class AuthConfigMonitor
- java.lang.Object
-
- com.sun.identity.authentication.service.AuthConfigMonitor
-
- All Implemented Interfaces:
ServiceListener
public class AuthConfigMonitor extends Object implements ServiceListener
This class is converted fromAuthenticatorManager
to monitor the authentication related configuration changes.
-
-
Field Summary
-
Fields inherited from interface com.sun.identity.sm.ServiceListener
ADDED, MODIFIED, REMOVED
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AuthConfigMonitor(ServiceSchemaManager schemaManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
globalConfigChanged(String serviceName, String version, String groupName, String serviceComponent, int type)
This method gets invoked when a service's global configuration data has been changed.void
organizationConfigChanged(String serviceName, String version, String orgName, String groupName, String serviceComponent, int type)
This method gets invoked when a service's organization configuration data has been changed.void
schemaChanged(String serviceName, String version)
This method gets invoked when a service's schema has been changed.
-
-
-
Constructor Detail
-
AuthConfigMonitor
protected AuthConfigMonitor(ServiceSchemaManager schemaManager)
-
-
Method Detail
-
schemaChanged
public void schemaChanged(String serviceName, String version)
This method gets invoked when a service's schema has been changed.- Specified by:
schemaChanged
in interfaceServiceListener
- Parameters:
serviceName
- name of the serviceversion
- version of the service
-
globalConfigChanged
public void globalConfigChanged(String serviceName, String version, String groupName, String serviceComponent, int type)
This method gets invoked when a service's global configuration data has been changed. The parametergroupName
denote the name of the configuration grouping (e.g. default) andserviceComponent
denotes the service's sub-component that changed (e.g./NamedPolicy
,/Templates
).- Specified by:
globalConfigChanged
in interfaceServiceListener
- Parameters:
serviceName
- name of the service.version
- version of the service.groupName
- name of the configuration grouping.serviceComponent
- name of the service components that changed.type
- change type, i.e., ADDED, REMOVED or MODIFIED.
-
organizationConfigChanged
public void organizationConfigChanged(String serviceName, String version, String orgName, String groupName, String serviceComponent, int type)
This method gets invoked when a service's organization configuration data has been changed. The parametersorgName
,groupName
andserviceComponent
denotes the organization name, configuration grouping name and service's sub-component that are changed respectively.- Specified by:
organizationConfigChanged
in interfaceServiceListener
- Parameters:
serviceName
- name of the serviceversion
- version of the serviceorgName
- organization name as DNgroupName
- name of the configuration groupingserviceComponent
- the name of the service components that changedtype
- change type, i.e., ADDED, REMOVED or MODIFIED
-
-