Package com.sun.identity.idm
Class IdRepoListener
java.lang.Object
com.sun.identity.idm.IdRepoListener
Provides methods that can be called by IdRepo plugins to notify change
events. Used to update cache and also to send notifications to registered
listeners. Each IdRepo plugin will be given a unique instance of this object.
Additionally, this class maintains the configuration data for the IdRepo
plugin and also to store the SMS Service attributes for the organization.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Represents an object addition event type.static final int
Represents an object change event type.static final int
Represents an object removal event type.static final int
Represents an object renaming event type.protected static com.sun.identity.shared.jaxrpc.SOAPClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
void
objectChanged
(String name, int type, Map cMap) Deprecated.As of Sun Java System Access Manager 7.1.void
objectChanged
(String name, IdType idType, int changeType, Map cMap) Notification mechanism for IdRepo plugins to specify the identiy name and identity type that has been changed.void
objectChanged
(String name, String previous, IdType idType, int changeType, Map cMap) Notification mechanism for IdRepo plugins to specify the identiy name and identity type that has been changed.void
setConfigMap
(Map cMap) void
setServiceAttributes
(String sName, Map attrs) Stores service's dynamic attributes within the IdRepo plugin configuration.
-
Field Details
-
sclient
protected static com.sun.identity.shared.jaxrpc.SOAPClient sclient -
OBJECT_ADDED
public static final int OBJECT_ADDEDRepresents an object addition event type.- See Also:
-
OBJECT_CHANGED
public static final int OBJECT_CHANGEDRepresents an object change event type.- See Also:
-
OBJECT_REMOVED
public static final int OBJECT_REMOVEDRepresents an object removal event type.- See Also:
-
OBJECT_RENAMED
public static final int OBJECT_RENAMEDRepresents an object renaming event type.- See Also:
-
-
Constructor Details
-
IdRepoListener
public IdRepoListener()
-
-
Method Details
-
allObjectsChanged
public void allObjectsChanged() -
objectChanged
Deprecated.As of Sun Java System Access Manager 7.1.This method has been deprecated as of OpenSSO Enterprise 8.0.- Parameters:
name
- name of the identity that changedtype
- change type i.e., add, delete, modify, etc.cMap
- configuration map that contains realm and plugin-name
-
objectChanged
Notification mechanism for IdRepo plugins to specify the identiy name and identity type that has been changed.- Parameters:
name
- name of the identity that changedidType
- IdType i.e., user, group, etc.changeType
- change type i.e., add, delete, modify, etc.cMap
- configuration map that contains realm and plugin-name
-
objectChanged
Notification mechanism for IdRepo plugins to specify the identiy name and identity type that has been changed.- Parameters:
name
- name of the identity that changedprevious
- previous name of the identity that changedidType
- IdType i.e., user, group, etc.changeType
- change type i.e., add, delete, modify, etc.cMap
- configuration map that contains realm and plugin-name
-
addRemoteListener
-
getConfigMap
-
setConfigMap
-
setServiceAttributes
Stores service's dynamic attributes within the IdRepo plugin configuration. In the current implementation changes to dynamic attributes to LDAPv3Repo restart the plugin, since it triggers a configuration change notification.- Parameters:
sName
- service name for which attributes are being setattrs
- service synamic attributes- Throws:
IdRepoException
- If there was an error while setting the service attributes.
-