com.ibm.itim.dataservices.model.policy

Class SeparationOfDutyPolicy

    • Field Detail

      • PROFILE_NAME

        public static final java.lang.String PROFILE_NAME
        The profile name for SeparationOfDutyPolicy
        See Also:
        Constant Field Values
      • SEPARATION_OF_DUTY_RULE

        public static final java.lang.String SEPARATION_OF_DUTY_RULE
        The attribute for storing the Separation Of Duty Rule information
        See Also:
        Constant Field Values
      • OWNER

        public static final java.lang.String OWNER
        The attribute for storing the owner of the policy
        See Also:
        Constant Field Values
    • Constructor Detail

      • SeparationOfDutyPolicy

        public SeparationOfDutyPolicy()
        Default constructor
      • SeparationOfDutyPolicy

        public SeparationOfDutyPolicy(java.lang.String name,
                                      java.lang.String description,
                                      boolean enabled,
                                      java.util.Collection<SeparationOfDutyRule> rules)
        The separation of duty value object constructor with full set of parameters.
        Parameters:
        name - The policy name
        description - The policy description
        enabled - The policy status
        rules - A collection of SeparationOfDutyRule objects
    • Method Detail

      • getProfileName

        public java.lang.String getProfileName()
        Description copied from class: DirectoryObject
        Returns the name of the profile associated to the object
        Overrides:
        getProfileName in class DirectoryObject
        Returns:
        String profile name. Returns null when there is no object profile associated with this object.
      • setRules

        public void setRules(java.util.Collection<SeparationOfDutyRule> rules)
        Sets the value of the separation of duty rules attribute.
        Parameters:
        rules - The collection of SeparationOfDutyRules to set for this policy.
      • getRules

        public java.util.Collection<SeparationOfDutyRule> getRules()
        Get the collection of SeparationOfDutyRules that are defined for this policy
        Returns:
        Collection of SeparationOfDutyRule for this policy.
      • setOwnerDNs

        public void setOwnerDNs(java.util.Collection<DistinguishedName> owners)
        Sets the value of the owner attribute. Only collections of Org Role DNs and/or collections of Person DNs should be used (can be a mix)
        Parameters:
        rules - The collection of DistinguishedNames to set as the owners for this policy.
      • getOwnerDNs

        public java.util.Collection<DistinguishedName> getOwnerDNs()
        Get the collection of DistinguishedName that are defined as the owner for this policy
        Returns:
        Collection of DistinguishedName that contains the owners defined for this policy. This collection will contain a collection of Or Role DNs and or a Collection of person DNs. There is no referential integrity checking for the DNs returned by this call.
      • removeOwnerDNs

        public void removeOwnerDNs()
        Removes the owner(s) of the policy.
      • equals

        public boolean equals(java.lang.Object policy)
        Very crude version of equals.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object