Class AccessCheckInput
- java.lang.Object
-
- com.identityworksllc.iiq.common.access.AccessCheckInput
-
public final class AccessCheckInput extends Object
Access check input
-
-
Constructor Summary
Constructors Constructor Description AccessCheckInput()
Constructs a basic access check inputAccessCheckInput(AccessCheckInput parent, CommonSecurityConfig config)
Copy constructor allowing override of an inputAccessCheckInput(sailpoint.web.UserContext userContext, CommonSecurityConfig config)
Access check input taking a plugin or targetAccessCheckInput(sailpoint.web.UserContext userContext, sailpoint.object.Identity target, CommonSecurityConfig config)
Access check input taking a plugin or targetAccessCheckInput(sailpoint.web.UserContext userContext, sailpoint.object.Identity target, String thingName, CommonSecurityConfig config)
Access check input taking a plugin or targetAccessCheckInput(sailpoint.web.UserContext userContext, sailpoint.object.Identity target, String thingName, CommonSecurityConfig config, Map<String,Object> state)
Access check input taking a plugin or target
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CommonSecurityConfig
getConfiguration()
Gets the configuration objectsailpoint.web.UserContext
getPluginResource()
Deprecated.UsegetUserContext()
insteadMap<String,Object>
getState()
sailpoint.object.Identity
getTarget()
String
getThingName()
sailpoint.web.UserContext
getUserContext()
void
putState(String name, Object value)
AccessCheckInput
setConfiguration(CommonSecurityConfig configuration)
AccessCheckInput
setConfiguration(Map<String,Object> configuration)
AccessCheckInput
setPluginResource(sailpoint.rest.plugin.BasePluginResource pluginResource)
Deprecated.AccessCheckInput
setState(Map<String,Object> state)
AccessCheckInput
setTarget(sailpoint.object.Identity target)
AccessCheckInput
setThingName(String thingName)
AccessCheckInput
setUserContext(sailpoint.web.UserContext userContext)
-
-
-
Constructor Detail
-
AccessCheckInput
public AccessCheckInput()
Constructs a basic access check input
-
AccessCheckInput
public AccessCheckInput(AccessCheckInput parent, CommonSecurityConfig config)
Copy constructor allowing override of an input- Parameters:
parent
- The parent configconfig
- The ‘child’ config to replace with
-
AccessCheckInput
public AccessCheckInput(sailpoint.web.UserContext userContext, CommonSecurityConfig config)
Access check input taking a plugin or target- Parameters:
userContext
- The user context (likely a BasePluginResource)config
- The config
-
AccessCheckInput
public AccessCheckInput(sailpoint.web.UserContext userContext, sailpoint.object.Identity target, CommonSecurityConfig config)
Access check input taking a plugin or target- Parameters:
userContext
- The user context (likely a BasePluginResource)target
- The targetconfig
- The config
-
AccessCheckInput
public AccessCheckInput(sailpoint.web.UserContext userContext, sailpoint.object.Identity target, String thingName, CommonSecurityConfig config)
Access check input taking a plugin or target- Parameters:
userContext
- The user context (likely a BasePluginResource)target
- The targetthingName
- The thing nameconfig
- The config
-
AccessCheckInput
public AccessCheckInput(sailpoint.web.UserContext userContext, sailpoint.object.Identity target, String thingName, CommonSecurityConfig config, Map<String,Object> state)
Access check input taking a plugin or target- Parameters:
userContext
- The user context (likely a BasePluginResource)target
- The targetthingName
- The thing nameconfig
- The configstate
- Any persistent state in the access checks
-
-
Method Detail
-
getConfiguration
public CommonSecurityConfig getConfiguration()
Gets the configuration object- Returns:
- The common security configuration object
-
getPluginResource
@Deprecated public sailpoint.web.UserContext getPluginResource()
Deprecated.UsegetUserContext()
instead- Returns:
- The configured plugin resource / user context
-
getUserContext
public sailpoint.web.UserContext getUserContext()
-
getTarget
public sailpoint.object.Identity getTarget() throws sailpoint.tools.GeneralException
- Throws:
sailpoint.tools.GeneralException
-
getThingName
public String getThingName()
-
setConfiguration
public AccessCheckInput setConfiguration(Map<String,Object> configuration) throws sailpoint.tools.GeneralException
- Throws:
sailpoint.tools.GeneralException
-
setConfiguration
public AccessCheckInput setConfiguration(CommonSecurityConfig configuration)
-
setPluginResource
@Deprecated public AccessCheckInput setPluginResource(sailpoint.rest.plugin.BasePluginResource pluginResource)
Deprecated.
-
setUserContext
public AccessCheckInput setUserContext(sailpoint.web.UserContext userContext)
-
setState
public AccessCheckInput setState(Map<String,Object> state)
-
setTarget
public AccessCheckInput setTarget(sailpoint.object.Identity target)
-
setThingName
public AccessCheckInput setThingName(String thingName)
-
-