Package com.iplanet.am.sdk.ldap
Class CallBackHelper
- java.lang.Object
-
- com.iplanet.am.sdk.common.CallBackHelperBase
-
- com.iplanet.am.sdk.ldap.CallBackHelper
-
- All Implemented Interfaces:
AMConstants
public class CallBackHelper extends CallBackHelperBase
This class has all the utility methods which determine the external pre-post processing classes for (user, org, role, group) operations. It also provides methods to execute the external implementations by performing a call back of the methods corresponding to the operation in progress.
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATEstatic intDELETEstatic intMODIFY-
Fields inherited from class com.iplanet.am.sdk.common.CallBackHelperBase
debug, EXTERNAL_ATTRIBUTES_FETCH_ENABLED_ATTR, internalToken
-
Fields inherited from interface com.iplanet.am.sdk.AMConstants
ADD_MEMBER, ADMIN_GROUPS_ENABLED_ATTR, ADMIN_ROLE_ATTR, ADMINISTRATION_SERVICE, CACHE_ENABLED_DISABLED_KEY, CACHE_MAX_SIZE_KEY, COMPLIANCE_SPECIAL_FILTER_ATTR, COMPLIANCE_USER_DELETION_ATTR, CONTAINER_DEFAULT_TEMPLATE_ROLE, CONTAINER_SUPPORTED_TYPES_ATTRIBUTE, DCT_ATTRIBUTE_LIST_ATTR, DCT_ENABLED_ATTR, DOMAIN_ADMINISTRATORS, DOMAIN_HELP_DESK_ADMINISTRATORS, EMAIL_ATTRIBUTE, FILTER_ATTR_NAME, INET_ADMIN_OBJECT_CLASS, INET_DOMAIN_STATUS_ATTR, INET_DOMAIN_STATUS_ATTRIBUTE, INVALID_USERID_CHARACTERS, OTHER_COSATTR_TYPE, POLICY_COSATTR_TYPE, POLICY_SUFFIX, PRE_POST_PROCESSING_MODULES_ATTR, REMOVE_ATTRIBUTE, REMOVE_MEMBER, REQUIRED_SERVICES_ATTR, ROLE_MANAGED_CONTAINER_DN_ATTRIBUTE, SCOPE_BASE, SCOPE_ONE, SCOPE_SUB, SERVICE_STATUS_ATTRIBUTE, STATIC_GROUP_DN_ATTRIBUTE, SUBSCRIBABLE_ATTRIBUTE, UNIQUE_ATTRIBUTE_LIST_ATTRIBUTE, UNIQUE_MEMBER_ATTRIBUTE, USER_CREATE_NOTIFICATION_LIST, USER_DELETE_NOTIFICATION_LIST, USER_ENCRYPTED_PASSWORD_ATTRIBUTE, USER_ENTRY_PROCESSING_IMPL, USER_MODIFY_NOTIFICATION_LIST, USER_PASSWORD_ATTRIBUTE, USER_SEARCH_RETURN_ATTR, USERID_PASSWORD_VALIDATION_CLASS
-
-
Constructor Summary
Constructors Constructor Description CallBackHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetAttributes(SSOToken token, String entryDN, Set attrNames, String orgDN)voidpostProcess(SSOToken token, String entryDN, String orgDN, AttrSet oldAttrSet, AttrSet newAttrSet, int operation, int objectType, boolean softDelete)voidpostProcess(SSOToken token, String entryDN, String orgDN, Map oldAttrMap, Map newAttrMap, int operation, int objectType, boolean softDelete)voidpostProcessModifyMemberShip(SSOToken token, String entryDN, String orgDN, Set members, int operation, int objectType)Special method for post processing memberShip modification for roles & groups.AttrSetpreProcess(SSOToken token, String entryDN, String orgDN, AttrSet oldAttrSet, AttrSet newAttrSet, int operation, int objectType, boolean softDelete)MappreProcess(SSOToken token, String entryDN, String orgDN, Map oldAttrMap, Map newAttrMap, int operation, int objectType, boolean softDelete)SetpreProcessModifyMemberShip(SSOToken token, String entryDN, String orgDN, Set members, int operation, int objectType)Special method for pre processing memberShip modification for roles & groups.-
Methods inherited from class com.iplanet.am.sdk.common.CallBackHelperBase
getDefaultGlobalConfig, getOrgConfigAttribute, getPrePostImpls, isExistsPrePostPlugins, isExternalGetAttributesEnabled
-
-
-
-
Field Detail
-
CREATE
public static final int CREATE
- See Also:
- Constant Field Values
-
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
-
MODIFY
public static final int MODIFY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAttributes
public Map getAttributes(SSOToken token, String entryDN, Set attrNames, String orgDN)
-
preProcess
public Map preProcess(SSOToken token, String entryDN, String orgDN, Map oldAttrMap, Map newAttrMap, int operation, int objectType, boolean softDelete) throws AMException
- Throws:
AMException
-
preProcess
public AttrSet preProcess(SSOToken token, String entryDN, String orgDN, AttrSet oldAttrSet, AttrSet newAttrSet, int operation, int objectType, boolean softDelete) throws AMException
- Throws:
AMException
-
postProcess
public void postProcess(SSOToken token, String entryDN, String orgDN, AttrSet oldAttrSet, AttrSet newAttrSet, int operation, int objectType, boolean softDelete) throws AMException
- Throws:
AMException
-
postProcess
public void postProcess(SSOToken token, String entryDN, String orgDN, Map oldAttrMap, Map newAttrMap, int operation, int objectType, boolean softDelete) throws AMException
- Throws:
AMException
-
preProcessModifyMemberShip
public Set preProcessModifyMemberShip(SSOToken token, String entryDN, String orgDN, Set members, int operation, int objectType) throws AMException
Special method for pre processing memberShip modification for roles & groups.- Throws:
AMException
-
postProcessModifyMemberShip
public void postProcessModifyMemberShip(SSOToken token, String entryDN, String orgDN, Set members, int operation, int objectType) throws AMException
Special method for post processing memberShip modification for roles & groups.- Throws:
AMException
-
-