Class IdentityRefreshExecutor
- java.lang.Object
-
- sailpoint.request.AbstractRequestExecutor
-
- com.identityworksllc.iiq.common.request.IdentityRefreshExecutor
-
- All Implemented Interfaces:
sailpoint.object.BaseExecutor
,sailpoint.object.RequestExecutor
public class IdentityRefreshExecutor extends sailpoint.request.AbstractRequestExecutor
Request executor to do an async refresh on a single user.The Request must contain at least a String identityName. All other arguments on the Request will be interpreted as input options to the Identitizer API.
If no other arguments are supplied beyond an ‘identityName’, the refresh will run with the following default options set to true:
- promoteAttributes
- correlateEntitlements (refresh assigned / detected roles)
- provisionIfChanged
- processTriggers
- refreshManagerStatus
The following options will always be set to true:
- noCheckPendingWorkflow
-
-
Field Summary
Fields Modifier and Type Field Description static String
REQUEST_DEFINITION
The name of the request definition associated with this executor
-
Constructor Summary
Constructors Constructor Description IdentityRefreshExecutor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(sailpoint.api.SailPointContext context, sailpoint.object.Request request, sailpoint.object.Attributes<String,Object> attributes)
Invokes the Identitizer to refresh the Identity with the given parameters.static void
launchRequest(sailpoint.api.SailPointContext context, String targetIdentityName, Map<String,Object> options)
Launches an Identity Refresh request against the given Identity, with the given options.static void
launchRequest(sailpoint.api.SailPointContext context, String targetIdentityName, Map<String,Object> options, long launchTimestamp)
Launches an Identity Refresh request against the given Identity, with the given options.static void
launchRequest(sailpoint.api.SailPointContext context, sailpoint.object.Identity targetIdentity, Map<String,Object> options)
Launches an Identity Refresh request against the given Identity, with the given options.
-
-
-
Field Detail
-
REQUEST_DEFINITION
public static final String REQUEST_DEFINITION
The name of the request definition associated with this executor- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IdentityRefreshExecutor
public IdentityRefreshExecutor()
-
-
Method Detail
-
launchRequest
public static void launchRequest(sailpoint.api.SailPointContext context, sailpoint.object.Identity targetIdentity, Map<String,Object> options) throws sailpoint.tools.GeneralException
Launches an Identity Refresh request against the given Identity, with the given options.The “IDW Identity Refresh Request” request definition must be installed in the IIQ system for this to work properly.
- Parameters:
context
- The IIQ context to use to launch the requesttargetIdentity
- The target Identity to refreshoptions
- Any refresh options (may be null)- Throws:
sailpoint.tools.GeneralException
- if launching the request failsIllegalArgumentException
- if the inputs are improper
-
launchRequest
public static void launchRequest(sailpoint.api.SailPointContext context, String targetIdentityName, Map<String,Object> options) throws sailpoint.tools.GeneralException
Launches an Identity Refresh request against the given Identity, with the given options.The “IDW Identity Refresh Request” request definition must be installed in the IIQ system for this to work properly.
- Parameters:
context
- The IIQ context to use to launch the requesttargetIdentityName
- The target Identity to refreshoptions
- Any refresh options (may be null)- Throws:
sailpoint.tools.GeneralException
- if launching the request failsIllegalArgumentException
- if the inputs are improper
-
launchRequest
public static void launchRequest(sailpoint.api.SailPointContext context, String targetIdentityName, Map<String,Object> options, long launchTimestamp) throws sailpoint.tools.GeneralException
Launches an Identity Refresh request against the given Identity, with the given options.The “IDW Identity Refresh Request” request definition must be installed in the IIQ system for this to work properly.
- Parameters:
context
- The IIQ context to use to launch the requesttargetIdentityName
- The name of the target Identity to refreshoptions
- Any refresh options (may be null)launchTimestamp
- The epoch timestamp at which this request should be launched; less than 1 indicates immediate- Throws:
sailpoint.tools.GeneralException
- if launching the request failsIllegalArgumentException
- if the inputs are improper
-
execute
public void execute(sailpoint.api.SailPointContext context, sailpoint.object.Request request, sailpoint.object.Attributes<String,Object> attributes) throws sailpoint.request.RequestPermanentException, sailpoint.request.RequestTemporaryException
Invokes the Identitizer to refresh the Identity with the given parameters.The Request invoking this handler must at least supply an ‘identityName’ in its attributes. All other Request attributes will be interpreted as arguments to the Identitizer.
- Parameters:
context
- The IIQ context for this threadrequest
- The request to executeattributes
- Unknown, some extra attributes?- Throws:
sailpoint.request.RequestPermanentException
- if the request fails in a way that cannot be retriedsailpoint.request.RequestTemporaryException
- if the request fails in a way that can be retried (e.g., temporary connection failure)
-
-