Class AdministrationServiceListener

    • Method Detail

      • getOrgInvalidCharsFromCache

        public static String getOrgInvalidCharsFromCache​(String orgDN)
        Returns invalid characters from cache.
        Parameters:
        orgDN - organization/realm name.
        Returns:
        Invalid characters for username and password.
      • setOrgInvalidCharsInCache

        public static void setOrgInvalidCharsInCache​(String orgDN,
                                                     String invalidChars)
        Sets invalid characters in cache.
        Parameters:
        orgDN - organization/realm name.
        invalidChars - invalid characters for username and password.
      • getGlobalInvalidCharsFromCache

        public static String getGlobalInvalidCharsFromCache()
        Returns global invalid characters from cache.
        Returns:
        global invalid characters for username and password.
      • setGlobalInvalidCharsInCache

        public static void setGlobalInvalidCharsInCache​(String invalidChars)
        Sets global Invalid characters in cache.
        Parameters:
        invalidChars - global invalid characters for username and password.
      • getOrgPluginNameFromCache

        public static String getOrgPluginNameFromCache​(String orgDN)
        Returns user/password validation plugin name from cache.
        Parameters:
        orgDN - organization/realm name.
        Returns:
        user/password validation plugin name from cache.
      • setOrgPluginNameInCache

        public static void setOrgPluginNameInCache​(String orgDN,
                                                   String pluginName)
        Sets user/password validation plugin name in cache.
        Parameters:
        orgDN - organization/realm name.
        pluginName - user/password validation plugin name.
      • getGlobalPluginNameFromCache

        public static String getGlobalPluginNameFromCache()
        Returns global user/password validation plugin name from cache.
        Returns:
        global user/password validation plugin name.
      • setGlobalPluginNameInCache

        public static void setGlobalPluginNameInCache​(String pluginName)
        Sets global user/password validation plugin name in cache.
        Parameters:
        pluginName - global user/password validation plugin name.
      • globalConfigChanged

        public void globalConfigChanged​(String serviceName,
                                        String version,
                                        String groupName,
                                        String serviceComponent,
                                        int type)
        This method will be invoked when a service's global configuration data has been changed.
        Specified by:
        globalConfigChanged in interface ServiceListener
        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.
      • schemaChanged

        public void schemaChanged​(String serviceName,
                                  String version)
        This method will be invoked when a service's schema has been changed. It is a no-op for this implementation.
        Specified by:
        schemaChanged in interface ServiceListener
        Parameters:
        serviceName - name of the service
        version - version of the service
      • organizationConfigChanged

        public void organizationConfigChanged​(String serviceName,
                                              String version,
                                              String orgName,
                                              String goupName,
                                              String serviceComponent,
                                              int type)
        This method will be invoked when a service's organization configuration data has been changed. It removes the invalid charecters cache if service configuration is modified or removed.
        Specified by:
        organizationConfigChanged in interface ServiceListener
        Parameters:
        serviceName - name of the service.
        version - version of the service.
        goupName - name of the configuration grouping.
        serviceComponent - name of the service components that changed.
        type - change type, i.e., ADDED, REMOVED or MODIFIED.
        orgName - organization name as DN