org.eclipse.higgins.idas.cp.jspolicy
Class JSPolicyContext

java.lang.Object
  extended byorg.eclipse.higgins.idas.spi.BasicAttributeSet
      extended byorg.eclipse.higgins.idas.spi.BasicContext
          extended byorg.eclipse.higgins.idas.cp.jspolicy.JSPolicyContext
All Implemented Interfaces:
org.eclipse.higgins.idas.spi.IAttributeContainer, org.eclipse.higgins.idas.api.IContext, org.eclipse.higgins.idas.spi.IEntityContainer, org.eclipse.higgins.idas.api.IHasAttributes

public class JSPolicyContext
extends org.eclipse.higgins.idas.spi.BasicContext

A Higgins Context Provider implementation allowing for javascript policy at critical points. Utilizing Mozilla's Rhino project, this code currently supports JavaScript PDPs at the following points:

Additional PDPs found in JSPolicyContext, JSPolicyEntity, and

Author:
dbuss@novell.com, tdoman@novell.com

Field Summary
static String attrMetadataPDPCache
          Generic parameter name used by selected PDPs.
static String attrPDPCache
          Generic parameter name used by selected PDPs.
static String connectionType
           
static String consumerAIDToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute ID passed to this context provider before being passed to the real context provider.
static String consumerATypeToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Types passed to this context provider before being passed to the real context provider.
static String consumerAValueToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Values passed to this context provider before being passed to the real context provider.
static String consumerContext
          Generic parameter name used by selected PDPs.
static String consumerEntityIDToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Entity IDs passed to this context provider before being passed to the real context provider.
static String consumerEntityTypeToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Entity Types passed to this context provider before being passed to the real context provider.
static String consumerIDParamName
          Generic parameter name used by selected PDPs.
static String consumerMIDToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Metadata ID passed to this context provider before being passed to the real context provider.
static String consumerMTypeToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Metadata Types passed to this context provider before being passed to the real context provider.
static String consumerMValueToProvider
           
static String consumerOpenAIDToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Types passed to this context provider before being passed to the real context provider in the course of a context open call.
static String consumerOpenContextRefToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Context URI during the context open call.
static String consumerOpenValueToProvider
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Values passed to this context provider before being passed to the real context provider during a context open call.
static String consumerTypeParamName
          Generic parameter name used by selected PDPs.
static String exportData
           
static String genericParamName
          Generic name which is used on many of the PDPs to pass a single parameter from java to the script.
static String genericParamName2
          Generic name which is used on many of the PDPs to pass a single parameter from java to the script.
static String genericResultName
          Generic name which is used on many of the PDPs to pass the result from JavaScript back to JAVA PDP code.
static String getSchema
           
static String providerAIDToConsumer
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute ID as they are returned from the real context provider to this context provider.
static String providerATypeToConsumer
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Types as they are returned from the real context provider to this context provider.
static String providerAValueToConsumer
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute values passed to this context provider before being passed to the real context provider.
static String providerContext
          Generic parameter name used by selected PDPs.
static String providerEntityIDToConsumer
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Entity IDs as they are returned from the real context provider to this context provider.
static String providerEntityTypeToConsumer
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Entity Types as they are returned from the real context provider to this context provider.
static String providerIDParamName
          Generic parameter name for for selected PDPs.
static String providerMIDToConsumer
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute ID as they are returned from the real context provider to this context provider.
static String providerMTypeToConsumer
          Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Metadata Types as they are returned from the real context provider to this context provider.
static String providerMValueToConsumer
           
static String providerTypeParamName
          Generic parameter name for for selected PDPs.
static String setSchema
           
 
Method Summary
 org.eclipse.higgins.idas.api.IEntity addEntity(org.eclipse.higgins.idas.api.IEntity copyFrom)
          TODO implement this function This Context Provider allows Entity Types, Entity ID, metadata, and attribute values to be mapped from values passed by consumers of this Context Provider to types and values for storage.
 org.eclipse.higgins.idas.api.IEntity addEntity(URI entityType, String entityID)
          This Context Provider allows Entity Types, Entity ID and Attribute values to be mapped from values passed by consumers of this Context Provider to types and values for storage.
 void close()
           
 String exportData(String filter, String representationFormat)
           
 org.eclipse.higgins.idas.api.model.IContextModel getContextModel()
          TODO implement this function
 Iterator getEntities(org.eclipse.higgins.idas.api.IFilter filter)
          TODO implement this function
 Iterator getEntities(org.eclipse.higgins.idas.api.IFilter filter, Iterator consumerSelectionList)
          TODO implement this function
 org.eclipse.higgins.idas.api.IEntity getEntity(String entityID)
           
 org.eclipse.higgins.idas.api.IEntity getEntity(String entityID, Iterator consumerSelectionList)
          This Context Provider allows types and values to be mapped from stored (provider) values to what is presented by consumers of this Context Provider by inserting JavaScript into the configuration file.
 String getSchema()
           
 void importData(String filter, String representationFormat)
          TODO Implement this function?
 boolean isOpen(Object identity)
           
 String open(Object identity)
           
 void setSchema(String schema)
           
 boolean verifyEntityAttributes(String entityID, Iterator attributes)
           
 
Methods inherited from class org.eclipse.higgins.idas.spi.BasicContext
applyUpdates, buildAttribute, buildAttributeAssertion, buildAuthNAttributesMaterials, buildComplexAttrValue, buildEntityIDAssertion, buildEntityTypeAssertion, buildFilter, buildSimpleAttrValue, cancelUpdates, createSimpleValue, getContextID, updateNotification
 
Methods inherited from class org.eclipse.higgins.idas.spi.BasicAttributeSet
addAttribute, addAttribute, addUnnotifiedAttribute, addUnnotifiedAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, updateNotification
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes
addAttribute, addAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue
 
Methods inherited from interface org.eclipse.higgins.idas.spi.IAttributeContainer
updateNotification
 

Field Detail

connectionType

public static final String connectionType
See Also:
Constant Field Values

consumerEntityIDToProvider

public static final String consumerEntityIDToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Entity IDs passed to this context provider before being passed to the real context provider.

When this PDP is invoked the Entity ID is converted to a string, stored in an evaluation specific JavaScript scope using the name consumerIDParamName. It is presented that either the result of the script or a JavaScript variable with the name genericResultName is the new Entity ID.

To avoid problems it is recomended that the reverse mapping also be defined using the id providerEntityIDToConsumer

A simple nonsensical sample where the provider Entity IDs all start with the letters 'vc' and those are replaced by the letters 'js':

  
 		<JSPolicyAction id="consumerEntityIDToProvider" evalType="javascript">
 			var re = new RegExp("ˆjs", "g");
 			RESULT = consumerID.replace(re, "vc");
 		</JSPolicyAction>
 		<JSPolicyAction id="providerEntityIDToConsumer" evalType="javascript">
 			var re = new RegExp("ˆvc", "g");
 			RESULT = consumerID.replace(re, "js");
 		</JSPolicyAction>
 

See Also:
Constant Field Values

providerEntityIDToConsumer

public static final String providerEntityIDToConsumer
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Entity IDs as they are returned from the real context provider to this context provider. The inverse of this mapping is consumerEntityIDToProvider

See Also:
Constant Field Values

consumerMIDToProvider

public static final String consumerMIDToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Metadata ID passed to this context provider before being passed to the real context provider. Applies to metadata on Entities, Attributes, and Attribute Values.

See Also:
JScriptCPMetadataPDPs.consumerIDToProvider(java.net.URI), Constant Field Values

providerMIDToConsumer

public static final String providerMIDToConsumer
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute ID as they are returned from the real context provider to this context provider. The inverse of this mapping is consumerMIDToProvider

See Also:
Constant Field Values

consumerAIDToProvider

public static final String consumerAIDToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute ID passed to this context provider before being passed to the real context provider.

See Also:
JScriptCPAttributePDPs.consumerIDToProvider(java.net.URI), Constant Field Values

providerAIDToConsumer

public static final String providerAIDToConsumer
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute ID as they are returned from the real context provider to this context provider. The inverse of this mapping is consumerAIDToProvider

See Also:
Constant Field Values

consumerMTypeToProvider

public static final String consumerMTypeToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Metadata Types passed to this context provider before being passed to the real context provider.

See Also:
JScriptCPMetadataPDPs.consumerTypeToProvider(java.net.URI, java.net.URI), Constant Field Values

providerMTypeToConsumer

public static final String providerMTypeToConsumer
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Metadata Types as they are returned from the real context provider to this context provider. The inverse of this mapping is consumerMTypeToProvider

See Also:
Constant Field Values

consumerATypeToProvider

public static final String consumerATypeToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Types passed to this context provider before being passed to the real context provider.

See Also:
JScriptCPAttributePDPs.consumerTypeToProvider(java.net.URI, java.net.URI), Constant Field Values

providerATypeToConsumer

public static final String providerATypeToConsumer
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Types as they are returned from the real context provider to this context provider. The inverse of this mapping is consumerATypeToProvider

See Also:
Constant Field Values

consumerEntityTypeToProvider

public static final String consumerEntityTypeToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Entity Types passed to this context provider before being passed to the real context provider.

When this PDP is invoked the Entity Type is stored in an evaluation specific JavaScript scope using the name consumerTypeParamName. It is presented that either the result of the script or a JavaScript variable with the name genericResultName is the new Entity Type.

To avoid problems it is recomended that the reverse mapping also be defined using the id providerEntityTypeToConsumer

A simple nonsensical sample where the provider Entity Type mappings are stored in a globally scoped attribute multimap, and are referenced using JavaScript Associative Arrays.

  
 		<JSPolicyAction id="consumerEntityTypeToProvider" evalType="javascript">
 			RESULT = multimap.consumer[String(PARAM.toString())];
 		</JSPolicyAction>
 		<JSPolicyAction id="providerEntityTypeToConsumer" evalType="javascript">
 			RESULT = multimap.provider[String(PARAM.toString())];
 		</JSPolicyAction>
 

TODO: currently this is for Attribute types, Entity MetaData Types, and Attribute MetaData Types, should we have seperate PDPs for those? The internal code is already fully instrumented for the addtional PDPs.

See Also:
Constant Field Values

providerEntityTypeToConsumer

public static final String providerEntityTypeToConsumer
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Entity Types as they are returned from the real context provider to this context provider. The inverse of this mapping is consumerEntityTypeToProvider

See Also:
Constant Field Values

consumerAValueToProvider

public static final String consumerAValueToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Values passed to this context provider before being passed to the real context provider.

When this PDP is invoked the consumer type, the provider type and the Attribute Value are all stored in an evaluation specific JavaScript scope using the names consumerTypeParamName, providerTypeParamName, genericParamName respectivly. It is presented that either the result of the script or a JavaScript variable with the name genericResultName is the new value

To avoid problems it is recomended that the reverse mapping also be defined using the id providerAValueToConsumer

A simple nonsensical sample where the for anything which is Entity ID the same mappings is preformed as noted in the sample for consumerEntityTypeToProvider

  
 		<JSPolicyAction id="consumerEntityTypeToProvider" evalType="javascript">
 			importPackage(Packages.org.eclipse.higgins.idas);
 			importPackage(Packages.org.eclipse.higgins.idas.impl);
 
 			var re = new RegExp("ˆvc", "g");
 			if (consumerType == "EntityIDSyntax") {
 				RESULT = new Packages.org.eclipse.higgins.idas.impl.BasicValueString(
 				String(PARAM.getData()).replace(re, "js"));
 			}
 		</JSPolicyAction>
 

See Also:
Constant Field Values

consumerMValueToProvider

public static final String consumerMValueToProvider
See Also:
Constant Field Values

providerAValueToConsumer

public static final String providerAValueToConsumer
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute values passed to this context provider before being passed to the real context provider. The inverse of this mapping is consumerMValueToProvider

See Also:
Constant Field Values

providerMValueToConsumer

public static final String providerMValueToConsumer
See Also:
Constant Field Values

consumerOpenValueToProvider

public static final String consumerOpenValueToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Values passed to this context provider before being passed to the real context provider during a context open call.

When this PDP is invoked the consumer type, the provider type and the Attribute Value are all stored in an evaluation specific JavaScript scope using the names consumerTypeParamName, providerTypeParamName, genericParamName respectivly. It is presented that either the result of the script or a JavaScript variable with the name genericResultName is the new value

Please note this is a unidirctional mapping, there is no inverse. A simple nonsensical sample where the for anything which is Entity ID the same mappings is preformed as noted in the sample for consumerEntityTypeToProvider

  
 		<JSPolicyAction id="consumerOpenValueToProvider" evalType="javascript">
 			importPackage(Packages.org.eclipse.higgins.idas);
 			importPackage(Packages.org.eclipse.higgins.idas.impl);
 
 			var re = new RegExp("ˆvc", "g");
 			if (consumerType == "EntityIDSyntax") {
 				RESULT = new Packages.org.eclipse.higgins.idas.impl.BasicValueString(
 				String(PARAM.getData()).replace(re, "js"));
 			}
 		</JSPolicyAction>
 

See Also:
Constant Field Values

consumerOpenAIDToProvider

public static final String consumerOpenAIDToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Attribute Types passed to this context provider before being passed to the real context provider in the course of a context open call.

When this PDP is invoked the Attribute Type is stored in an evaluation specific JavaScript scope using the name genericParamName. It is presented that either the result of the script or a JavaScript variable with the name genericResultName is the new Attribute Type.

This is a one way map, no values are returned. A simple nonsensical sample where the provider Entity Type mappings are stored in a globally scoped attribute multimap, and are referenced using JavaScript Associative Arrays.

  
 		<JSPolicyAction id="consumerOpenAIDToProvider" evalType="javascript">
 			RESULT = multimap.consumer[PARAM];
 		</JSPolicyAction>
 

See Also:
Constant Field Values

consumerOpenContextRefToProvider

public static final String consumerOpenContextRefToProvider
Identifier used in the id attribute of a JSPolicyAction element to specify the mapping performed on Context URI during the context open call. When this PDP is invoked the consumer type, the mapping context provider's Context Ref is stored in an evaluation specific JavaScript scope using the name genericParamName. It is presented that either the result of the script or a JavaScript variable with the name genericResultName is the new value

Please note this is a unidirctional mapping, there is no inverse. A simple sample which ignores the passed in PARAM and just returns a new value

  
 		<JSPolicyAction id="consumerOpenContextRefToProvider" evalType="javascript">
 			new java.lang.URI("http://bogus.data.frogspawn:port");
 		</JSPolicyAction>
 

See Also:
Constant Field Values

genericParamName

public static final String genericParamName
Generic name which is used on many of the PDPs to pass a single parameter from java to the script.

See Also:
Constant Field Values

genericParamName2

public static final String genericParamName2
Generic name which is used on many of the PDPs to pass a single parameter from java to the script.

See Also:
Constant Field Values

genericResultName

public static final String genericResultName
Generic name which is used on many of the PDPs to pass the result from JavaScript back to JAVA PDP code.

See Also:
Constant Field Values

consumerIDParamName

public static final String consumerIDParamName
Generic parameter name used by selected PDPs. See specific PDP descriptions for details.

See Also:
Constant Field Values

providerIDParamName

public static final String providerIDParamName
Generic parameter name for for selected PDPs. See specific PDP descriptions for details.

See Also:
Constant Field Values

consumerTypeParamName

public static final String consumerTypeParamName
Generic parameter name used by selected PDPs. See specific PDP descriptions for details.

See Also:
Constant Field Values

providerTypeParamName

public static final String providerTypeParamName
Generic parameter name for for selected PDPs. See specific PDP descriptions for details.

See Also:
Constant Field Values

consumerContext

public static final String consumerContext
Generic parameter name used by selected PDPs. Often the variable name for the presenting Context.

See Also:
Constant Field Values

providerContext

public static final String providerContext
Generic parameter name used by selected PDPs. Often the variable name for the provider Context.

See Also:
Constant Field Values

attrPDPCache

public static final String attrPDPCache
Generic parameter name used by selected PDPs. Often the variable name for the attr PDPCache

See Also:
Constant Field Values

attrMetadataPDPCache

public static final String attrMetadataPDPCache
Generic parameter name used by selected PDPs. Often the variable name for the attrMetadataPDPCache

See Also:
Constant Field Values

getSchema

public static final String getSchema
See Also:
Constant Field Values

setSchema

public static final String setSchema
See Also:
Constant Field Values

exportData

public static final String exportData
See Also:
Constant Field Values
Method Detail

open

public String open(Object identity)
            throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.open(java.lang.Object)

close

public void close()
           throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.close()

isOpen

public boolean isOpen(Object identity)
               throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.isOpen(java.lang.Object)

getEntity

public org.eclipse.higgins.idas.api.IEntity getEntity(String entityID,
                                                      Iterator consumerSelectionList)
                                               throws org.eclipse.higgins.idas.api.IdASException
This Context Provider allows types and values to be mapped from stored (provider) values to what is presented by consumers of this Context Provider by inserting JavaScript into the configuration file. The PDP described by consumerEntityTypeToProvider contains the type mappings performed on the Entity ID, the PDP described by consumerMTypeToProvider describes the mappings performed on the attribute types.

TODO: Attrs are assumed to always map consistiently, but with generated attrs it's possible that both the generated and the real attribute should be returned if passed in a selection list.

Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.getEntity(java.lang.String, java.util.Iterator)

getEntity

public org.eclipse.higgins.idas.api.IEntity getEntity(String entityID)
                                               throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.getEntity(java.lang.String)

addEntity

public org.eclipse.higgins.idas.api.IEntity addEntity(URI entityType,
                                                      String entityID)
                                               throws org.eclipse.higgins.idas.api.IdASException,
                                                      org.eclipse.higgins.idas.api.InvalidTypeException,
                                                      org.eclipse.higgins.idas.api.InvalidEntityIDException,
                                                      org.eclipse.higgins.idas.api.EntityExistsException
This Context Provider allows Entity Types, Entity ID and Attribute values to be mapped from values passed by consumers of this Context Provider to types and values for storage. The PDP described by consumerEntityTypeToProvider contains the type mappings performed on the Subjec type, the PDP described by consumerEntityIDToProvider describes the mappings performed on the Entity ID.

Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
org.eclipse.higgins.idas.api.InvalidEntityIDException
org.eclipse.higgins.idas.api.EntityExistsException

addEntity

public org.eclipse.higgins.idas.api.IEntity addEntity(org.eclipse.higgins.idas.api.IEntity copyFrom)
                                               throws org.eclipse.higgins.idas.api.IdASException,
                                                      org.eclipse.higgins.idas.api.EntityExistsException
TODO implement this function This Context Provider allows Entity Types, Entity ID, metadata, and attribute values to be mapped from values passed by consumers of this Context Provider to types and values for storage. The PDP described by consumerEntityTypeToProvider contains the type mappings performed on the Entity type, the PDP described by consumerEntityIDToProvider describes the mappings performed on the Entity ID. the PDP described by consumerATypeToProvider describes the mappings performed on the attribute types. The PDP described by consumerAValueToProvider describes the value mappings which will occur.

Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.EntityExistsException

exportData

public String exportData(String filter,
                         String representationFormat)
                  throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.exportData(java.lang.String, java.lang.String)

importData

public void importData(String filter,
                       String representationFormat)
                throws org.eclipse.higgins.idas.api.IdASException
TODO Implement this function?

Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.importData(java.lang.String, java.lang.String)

getSchema

public String getSchema()
                 throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.getSchema()

setSchema

public void setSchema(String schema)
               throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.setSchema(java.lang.String)

getEntities

public Iterator getEntities(org.eclipse.higgins.idas.api.IFilter filter)
                     throws org.eclipse.higgins.idas.api.IdASException
TODO implement this function

Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.getEntities(org.eclipse.higgins.idas.api.IFilter)

getEntities

public Iterator getEntities(org.eclipse.higgins.idas.api.IFilter filter,
                            Iterator consumerSelectionList)
                     throws org.eclipse.higgins.idas.api.IdASException
TODO implement this function

Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.getEntities(org.eclipse.higgins.idas.api.IFilter, java.util.Iterator)

verifyEntityAttributes

public boolean verifyEntityAttributes(String entityID,
                                      Iterator attributes)
                               throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.verifyEntityAttributes(java.lang.String, java.util.Iterator)

getContextModel

public org.eclipse.higgins.idas.api.model.IContextModel getContextModel()
                                                                 throws org.eclipse.higgins.idas.api.IdASException
TODO implement this function

Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IContext.getContextModel()