IdRepoListener.java revision 60e9e896a1a7a9e62db162e1e9fb6b3c2df50c33
3349N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3349N/A * Copyright (c) 2005 Sun Microsystems Inc. All Rights Reserved 3349N/A * The contents of this file are subject to the terms 3349N/A * of the Common Development and Distribution License 3349N/A * (the License). You may not use this file except in 3349N/A * compliance with the License. 3349N/A * You can obtain a copy of the License at 3349N/A * See the License for the specific language governing 3349N/A * permission and limitations under the License. 3349N/A * When distributing Covered Code, include this CDDL 3349N/A * Header Notice in each file and include the License file 3349N/A * If applicable, add the following below the CDDL Header, 3349N/A * with the fields enclosed by brackets [] replaced by 3349N/A * your own identifying information: 3349N/A * "Portions Copyrighted [year] [name of copyright owner]" 3349N/A * Portions Copyrighted 2011-2015 ForgeRock AS. 3349N/A * Provides methods that can be called by IdRepo plugins to notify change 3349N/A * events. Used to update cache and also to send notifications to registered 3349N/A * listeners. Each IdRepo plugin will be given a unique instance of this object. 3619N/A * Additionally, this class maintains the configuration data for the IdRepo 3678N/A * plugin and also to store the SMS Service attributes for the organization. 3387N/A // Configuration data for the IdRepo plugin 3349N/A // Must have "realm" key to correctly send the notifications to clients 3349N/A // Listener registed by JAXRPC Impl to send notifications 3349N/A // To serialize and deserialize configMap 3349N/A // Configured Identity Types 3349N/A // Flags to check if caching is enabled and to clear them 3349N/A * @see com.iplanet.am.sdk.AMObjectListener#allObjectsChanged() 3387N/A // Check if caching is enabled 3387N/A // If Caching was enabled - then clear the cache!! 3349N/A // If Caching was enabled - then clear the cache!! 3349N/A // Get the list of listeners setup with idRepo 3678N/A // Update any listeners registered with IdRepo 3349N/A * This method has been deprecated as of OpenSSO Enterprise 8.0. 3349N/A * @param name name of the identity that changed 3349N/A * @param type change type i.e., add, delete, modify, etc. 3387N/A * @param cMap configuration map that contains realm and plugin-name 3349N/A * @deprecated As of Sun Java System Access Manager 7.1. 3387N/A * Notification mechanism for IdRepo plugins to specify the identiy name 3387N/A * and identity type that has been changed. 3387N/A * @param name name of the identity that changed 3387N/A * @param idType IdType i.e., user, group, etc. 3387N/A * @param changeType change type i.e., add, delete, modify, etc. 3387N/A * @param cMap configuration map that contains realm and plugin-name 3349N/A // Get the list of listeners setup with idRepo 3349N/A // Check if caching is enabled 3349N/A // If Caching was enabled - then clear the cache!! 3349N/A // Update any listeners registered with IdRepo 3349N/A * Returns the configurations for the IdRepo plugins 3349N/A * Maintains the configurations for the IdRepo plugins 3567N/A * Stores service's dynamic attributes within the IdRepo plugin 3349N/A * configuration. In the current implementation changes to dynamic 3349N/A * attributes to LDAPv3Repo restart the plugin, since it triggers 3349N/A * a configuration change notification. 3349N/A * @param sName service name for which attributes are being set 3349N/A * @param attrs service synamic attributes 3349N/A * @throws com.sun.identity.idm.IdRepoException 6077N/A "IdRepoListener.setServiveAttribute: realm or plugin name" 3678N/A "IdRepoListener: Unable to set service attributes",
smse);
3678N/A "IdRepoListener: Unable to set service attributes",
ssoe);
3678N/A // If configMap is null, then this is a "remote" cache update 3349N/A // Name should be the universal id 3567N/A // Constants for change type recevied from the IdRepo plugins 3619N/A * Represents an object addition event type. 3349N/A * Represents an object change event type. 3349N/A * Represents an object removal event type. 3349N/A * Represents an object renaming event type.