public class SubjectReferentialIntegrityPlugin extends AMCallBack
SubjectReferentialIntegrityPlugin
provides
the implementation to preserve referential integrity
between the subjects in policies to the corresponding objects in local
directory.Constructor and Description |
---|
SubjectReferentialIntegrityPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
postProcessDelete(SSOToken token,
String entryDN,
Map attributes,
boolean softDeleteEnabled,
int objectType)
This implementation would visit all the subjects in policies
across all orgs/sub-orgs and remove the subject values
corresponding to the deleted entry DN.
|
getAttributes, postProcessAddUser, postProcessCreate, postProcessModify, postProcessRemoveUser, preProcessAddUser, preProcessCreate, preProcessDelete, preProcessModify, preProcessRemoveUser
public void postProcessDelete(SSOToken token, String entryDN, Map attributes, boolean softDeleteEnabled, int objectType) throws AMPostCallBackException
postProcessDelete
in class AMCallBack
token
- the SSOToken
entryDN
- the DN of the entry being deletedattributes
- a map consisting of attribute names and a set of values for
each of themsoftDeleteEnabled
- If true, this implies that the object is just being marked for
deletion, if false, then it implies that the object is being
removed from the data store.objectType
- represents the type of entry on which the operation is being
performed. Types could be:
AMPostCallBackException
- if an error occurs during post processing. A user specific
localized message should be sent as part of the exception
message. The specific messages can be added to
amProfile.properties
file.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.