Skip navigation links


oracle.iam.grc.sod.vo
Class Duty

java.lang.Object
  extended by oracle.iam.grc.sod.vo.Duty

All Implemented Interfaces:
java.io.Serializable

public class Duty
extends java.lang.Object
implements java.io.Serializable

This interface is a representation of a duty record in SoD Engine Implementation. An instance of its implementation would need to be created by the IdM system PEP, and will get utilized to form the input of SoD analysis. Any Duty in the SoD Engine will be of a DutyType and would exist within the domain of an instance of a source datatstore and therefore the value object has a place to hold the relevant details. Most of the SoD engines allow a provision of coalescing Duties assignment into sets, during policy authoring. Policy violation events could then not only be linked to toxic combination of duties but also combinations of sets of duties. E.g. In OAACG, there is a concept of 'entitlements' which is a collection of 'access points' (term used in OAACG, for representing 'duties') and could be used to form the logic of a SoD policy. Using the principles of the GoF 'composite' design pattern, this interface also has a placeholder for capturing a collection of linked duties in the SoD engine. However, any information associated to a set of duties will most likely not be expected within the instance of implementation of this interface, while the input is being sent for SoD analysis. It will be only the 'duty list' present in the 'Violation' objects contained within the 'SoDAnalysisResult', which could have instances of 'Duty' implementation which are actually sets and not individual objects. Why? Because it is only the SoD engine that has provided the capability to model the combinations of duties while policy authoring and once these policies will get violated during SoD analysis, the result ('SoDAnalysisResult') which the SoD Analysis service component needs to collect from the SoD engine would have references to the sets of duty objects.

See Also:
Serialized Form

Constructor Summary
Duty()
           

 

Method Summary
 Attribute[] getAttributes()
           
 java.lang.String getConnectingOperator()
           
 Duty[] getDutyObjects()
           
 DutyType getDutyType()
           
 long getSourceDatastoreContextRegID()
           
 boolean isSet()
           
 void setAttributes(Attribute[] attributes)
           
 void setConnectingOperator(java.lang.String connectingOperator)
           
 void setDutyObjects(Duty[] dutyObjects)
           
 void setDutyType(DutyType dutyType)
           
 void setSet(boolean set)
           
 void setSourceDatastoreContextRegID(long sourceDatastoreContextregID)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Duty

public Duty()

Method Detail

getAttributes

public Attribute[] getAttributes()
Returns:
Returns the attributes.

setAttributes

public void setAttributes(Attribute[] attributes)
Parameters:
attributes - The attributes to set.

getConnectingOperator

public java.lang.String getConnectingOperator()
Returns:
Returns the connectingOperator.

setConnectingOperator

public void setConnectingOperator(java.lang.String connectingOperator)
Parameters:
connectingOperator - The connectingOperator to set.

getDutyObjects

public Duty[] getDutyObjects()
Returns:
Returns the dutyObjects.

setDutyObjects

public void setDutyObjects(Duty[] dutyObjects)
Parameters:
dutyObjects - The dutyObjects to set.

getDutyType

public DutyType getDutyType()
Returns:
Returns the dutyType.

setDutyType

public void setDutyType(DutyType dutyType)
Parameters:
dutyType - The dutyType to set.

isSet

public boolean isSet()
Returns:
Returns the set.

setSet

public void setSet(boolean set)
Parameters:
set - The set to set.

getSourceDatastoreContextRegID

public long getSourceDatastoreContextRegID()
Returns:
Returns the sourceDatastoreContext.

setSourceDatastoreContextRegID

public void setSourceDatastoreContextRegID(long sourceDatastoreContextregID)
Parameters:
sourceDatastoreContext - The sourceDatastoreContext to set.

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.