|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.DirectoryEntry
com.ibm.itim.dataservices.model.DirectoryObject
com.ibm.itim.dataservices.model.domain.Service
public class Service
Value Object class that holds the attribute information of a service in the data model.
ServiceEntity
,
Serialized FormNested Class Summary | |
---|---|
static class |
Service.ConnectionMode
Two types of connection mode are currently supported as illustrated below |
Field Summary | |
---|---|
static int |
COMPLIANCE_ALERT_ACCOUNT_CHANGE
Constant identifying trigger compliance alert when account is modified. |
static int |
COMPLIANCE_ALERT_IDENTITY_CHANGE
Constant identifying trigger compliance alert when a person is modified. |
static int |
COMPLIANCE_ALERT_POLICY_CHANGE
Constant identifying trigger compliance alert when policy is modified. |
static int |
COMPLIANCE_ALERT_RECONCILIATION
Constant identifying trigger compliance alert when reconciliation is run. |
static java.lang.String |
CONNECTION_MODE
String constant identifying service Connection Mode. |
static int |
CORRECT_NONCOMPLIANT
Constant identifying the action for correcting a non compliant account. |
static java.lang.String |
ITIM_SERVICE_ATTR_REPOSITORY_SERVICE
|
static int |
MARK_NONCOMPLIANT
Constant identifying the action for marking a non compliant account. |
static int |
ON_ADD
Constant identifying when a new account is detected. |
static int |
ON_CHANGE
Constant identifying when a changed account is detected. |
static int |
ON_DELETE
Constant identifying when a deleted account is detected. |
static java.lang.String |
SERVICE_ATTR_ALERT_OPTION
String constant for the password attribute name. |
static java.lang.String |
SERVICE_ATTR_CHECK_POLICY
Constant for the policy checking attribute name. |
static java.lang.String |
SERVICE_ATTR_CONSTRAINT_VIOLATION_ACTION
Deprecated. |
static java.lang.String |
SERVICE_ATTR_DESCRIPTION
String constant that represents the LDAP attribute for storing service's description. |
static java.lang.String |
SERVICE_ATTR_DISALLOWED_ACTION
Deprecated. |
static java.lang.String |
SERVICE_ATTR_EVALUATE_SOD
Constant for the erevaluatesod attribute name. |
static java.lang.String |
SERVICE_ATTR_NAME
Constant for the naming attribute name. |
static java.lang.String |
SERVICE_ATTR_NONCOMPLIANCE_ACTION
Constant for the noncompliance action attribute name. |
static java.lang.String |
SERVICE_ATTR_OWNER
|
static java.lang.String |
SERVICE_ATTR_PASSWORD
String constant for the password attribute name. |
static java.lang.String |
SERVICE_ATTR_TAG
Constant for the tag attribute name. |
static java.lang.String |
SERVICE_DSML_PROFILE_NAME
String constant for DSMLInfor service's profile attribute name. |
static java.lang.String |
SERVICE_DSML2_PROFILE_NAME
String constant for DSML2 service's profile attribute name. |
static java.lang.String |
SERVICE_ENROLE_PROFILE_NAME
String constant for Enrole service's profile attribute name. |
static int |
SUSPEND_NONCOMPLIANT
Constant identifying the action for suspending a non compliant account. |
static int |
USE_GLOBAL_SETTING
Constant to specify that the global settings are to be applied. |
static int |
USE_WORKFLOW_FOR_NONCOMPLIANT
Constant identifying the action for using workflow to resove a non compliant account. |
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME |
Fields inherited from interface com.ibm.itim.util.Sortable |
---|
ATTR_NAME |
Constructor Summary | |
---|---|
Service()
Default empty constructor |
|
Service(java.lang.String profileName,
AttributeValues attributes)
Constructs object with profile and attribute information. |
Method Summary | |
---|---|
java.util.Collection |
getAlertOptions()
This method returns a collection containing the alert options. |
Service.ConnectionMode |
getConnectionMode()
Retrieve the current connection mode (Automatic by default) |
java.lang.String |
getConstraintViolationAction()
Deprecated. Use getNonComplianceAction(). |
java.lang.String |
getDescription()
Returns the description of the service. |
java.lang.String |
getDisallowedAction()
Deprecated. Use getNonComplianceAction(). |
int |
getNonComplianceAction()
Returns the non-compliance action of the service. |
DistinguishedName |
getOwnerDN()
Returns the Distinguished name of service's owner. |
java.util.Collection |
getPrerequisiteDNs()
Returns the list prerequisite services for this service (if any). |
java.lang.String |
getServiceProfileName()
Returns the profile name identifying the type of the service, NT, Exchange, etc. |
boolean |
isCheckingPolicy()
Determines whether to check policies when synchronizing accounts for a service. |
boolean |
isEnrole()
Returns whether this service is enRole. |
boolean |
isEvaluateSoD()
If true, this flag indicates to the workflow system that the separation of duty policy should be evaluated during the identity feed process. |
boolean |
isManual()
Returns whether this service is a manual service. |
void |
removeOwnerDN()
Removes the owner of the service if set. |
void |
setAlertOptions(java.util.Collection alertOptions)
This method sets the alert options given a collection of the same. |
void |
setCheckingPolicy(boolean checkPolicy)
Changes the policy checking flag. |
void |
setConnectionMode(Service.ConnectionMode connMode)
Set the connection mode |
void |
setConstraintViolationAction(java.lang.String constraintViolationAction)
Deprecated. Use setNonComplianceAction(). |
void |
setDescription(java.lang.String description)
Sets the description field of the service. |
void |
setDisallowedAction(java.lang.String disallowedAction)
Deprecated. Use setNonComplianceAction(). |
void |
setEvaluateSoD(boolean isEvaluateSoD)
If true, this flag indicates to the workflow system that the separation of duty policy should be evaluated during the identity feed process. |
void |
setNonComplianceAction(int action)
Changes the non-compliance action for the service. |
void |
setOwnerDN(DistinguishedName owner)
Sets the owner of the service. |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry |
---|
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICE_ATTR_NAME
public static final java.lang.String SERVICE_ATTR_CHECK_POLICY
public static final java.lang.String SERVICE_ATTR_CONSTRAINT_VIOLATION_ACTION
public static java.lang.String SERVICE_ATTR_DISALLOWED_ACTION
public static java.lang.String SERVICE_ATTR_NONCOMPLIANCE_ACTION
public static java.lang.String SERVICE_ATTR_EVALUATE_SOD
public static final int MARK_NONCOMPLIANT
public static final int SUSPEND_NONCOMPLIANT
public static final int CORRECT_NONCOMPLIANT
public static final int USE_WORKFLOW_FOR_NONCOMPLIANT
public static final int USE_GLOBAL_SETTING
public static final int ON_ADD
public static final int ON_CHANGE
public static final int ON_DELETE
public static final java.lang.String SERVICE_ATTR_OWNER
public static final java.lang.String ITIM_SERVICE_ATTR_REPOSITORY_SERVICE
public static java.lang.String SERVICE_DSML_PROFILE_NAME
public static final java.lang.String SERVICE_DSML2_PROFILE_NAME
public static java.lang.String SERVICE_ENROLE_PROFILE_NAME
public static final java.lang.String SERVICE_ATTR_PASSWORD
public static final java.lang.String SERVICE_ATTR_ALERT_OPTION
public static final int COMPLIANCE_ALERT_RECONCILIATION
public static final int COMPLIANCE_ALERT_POLICY_CHANGE
public static final int COMPLIANCE_ALERT_IDENTITY_CHANGE
public static final int COMPLIANCE_ALERT_ACCOUNT_CHANGE
public static final java.lang.String SERVICE_ATTR_DESCRIPTION
public static final java.lang.String CONNECTION_MODE
public static final java.lang.String SERVICE_ATTR_TAG
Constructor Detail |
---|
public Service()
public Service(java.lang.String profileName, AttributeValues attributes)
Warning: the purpose of this constructor is to provide clients with the ability to
create value objects for creation in the data store. Do not use this
constructor to create value objects that represent existing entities. See
the ServiceSearch
object for achieving that.
profileName
- Name of the profile (NT, Exchange, etc.), identifying the type
of this service. Use ObjectProfileSearch.getProfilesInCategory
to get a list of
profile names for the service category
in the system.
Profile name cannot be NULL or empty.
For example, use "PosixAixProfile" as profileName to construct a Posix AIX service object.
attributes
- AttributeValues holding the attributes of the service. It cannot be NULL or empty.ObjectProfileSearch.getProfilesInCategory
,
ObjectProfileCategoryConstant
Method Detail |
---|
public boolean isCheckingPolicy()
public void setCheckingPolicy(boolean checkPolicy)
checkPolicy
- True to check policies, false to not.public int getNonComplianceAction()
public void setNonComplianceAction(int action)
action
- Enumerated int of the action, MARK_NONCOMPLIANT,
SUSPEND_NONCOMPLIANT, CORRECT_NONCOMPLIANT,
USE_WORKFLOW_FOR_NONCOMPLIANT.public java.lang.String getConstraintViolationAction()
public void setConstraintViolationAction(java.lang.String constraintViolationAction)
constraintViolationAction
- Enumerated String of the action.public java.lang.String getDisallowedAction()
public void setDisallowedAction(java.lang.String disallowedAction)
disallowedAction
- Enumerated String of the action.public java.util.Collection getPrerequisiteDNs()
public java.lang.String getServiceProfileName()
public boolean isEnrole()
public boolean isEvaluateSoD()
public boolean isManual()
public java.util.Collection getAlertOptions()
public void setAlertOptions(java.util.Collection alertOptions)
alertOptions
- new compliance alert options for the service.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- of the service.public void setEvaluateSoD(boolean isEvaluateSoD)
isEvaluateSoD
- True to set evaluate SoD flag on; else false.public DistinguishedName getOwnerDN()
public void setOwnerDN(DistinguishedName owner)
owner
- Distinguished name of the service's owner.public void removeOwnerDN()
public Service.ConnectionMode getConnectionMode()
public void setConnectionMode(Service.ConnectionMode connMode)
connMode
- The ConnectionMode enum value to be set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |