Project Aristotle - ArisID Attribute Services

org.openliberty.arisid.protocol.ldap
Interface IPrivacyControl

All Known Implementing Classes:
PrivacyControl

public interface IPrivacyControl


Field Summary
static java.lang.String OID_IGF_CONTROL
          Note: The OID number 1.3.6.1.4.1.31052.1.1 is a temporary number and is subject to change.
 
Method Summary
 java.lang.String getAppName()
           
 java.net.URI getAppURI()
          Deprecated. Use getCarmlURI() instead
 java.net.URI getCarmlURI()
           
 java.util.Map<java.lang.String,IPolicy> getConstraintMap()
          Returns all dynamic WS-Policy constraints (interaction and attributes, predicates, roles) for the current transaction.
 IPolicy getDynamicConstraints(java.lang.String nameId)
          Returns dynamic WS-Policy for the specified Attribute, Predicate or Role name identifier or the interaction name if the constraint applies to the entire Interaction.
 byte[] getEncodedValue()
           
 java.lang.String getID()
           
 java.lang.String getInteractionName()
           
 boolean isCritical()
           
 void setDynamicConstraints(java.util.Map<java.lang.String,IPolicy> dynamicConstraints)
          Set dynamic transaction constraints.
 void setDynamicConstraints(java.lang.String nameId, IPolicy txnConstraints)
          Set dynamic transaction constraints.
 

Field Detail

OID_IGF_CONTROL

static final java.lang.String OID_IGF_CONTROL
Note: The OID number 1.3.6.1.4.1.31052.1.1 is a temporary number and is subject to change. It is registered to the IANA private number space of Liberty Alliance.

See Also:
Constant Field Values
Method Detail

getEncodedValue

byte[] getEncodedValue()

getID

java.lang.String getID()

isCritical

boolean isCritical()

setDynamicConstraints

void setDynamicConstraints(java.lang.String nameId,
                           IPolicy txnConstraints)
Set dynamic transaction constraints. If constraint is for entire transaction, nameID should be set to the interaction name, otherwise the nameId referenced should be the name of an Attribute, Predicate, or Role identifier. Note: Declared constraints should not be added here since the IInteraction reference already provides the information. Included constraints should only include dynamic constraints.

Parameters:
nameId - The nameId of an Attribute Predicate or Role the policy is to be applied to.
txnConstraints - An IPolicy object containing the constraints for the specified object.

setDynamicConstraints

void setDynamicConstraints(java.util.Map<java.lang.String,IPolicy> dynamicConstraints)
Set dynamic transaction constraints. If constraint is for entire transaction, nameID should be set to the Interaction name, otherwise the nameId referenced should be the name of an Attribute, Predicate, or Role identifier. Note: Declared constraints should not be added here since the IInteraction reference already provides the information. Included constraints should only include dynamic constraints.

Parameters:
dynamicConstraints - A Map containing a set of nameIds of Attributes, Predicates, or Roles and the Policy associated with each nameId.

getConstraintMap

java.util.Map<java.lang.String,IPolicy> getConstraintMap()
Returns all dynamic WS-Policy constraints (interaction and attributes, predicates, roles) for the current transaction.

Returns:
A Map by NameId and IPolicy containing the WS-Policy for the specified objects.

getDynamicConstraints

IPolicy getDynamicConstraints(java.lang.String nameId)
Returns dynamic WS-Policy for the specified Attribute, Predicate or Role name identifier or the interaction name if the constraint applies to the entire Interaction.

Parameters:
nameId - An nameIdentifier for an attribute, predicate, or role) or an Interaction name for which policy is to be returned.
Returns:
A WS-Policy object for the requested item.

getAppName

java.lang.String getAppName()

getAppURI

java.net.URI getAppURI()
Deprecated. Use getCarmlURI() instead


getCarmlURI

java.net.URI getCarmlURI()
Returns:
The unique URI for the CARML declaration

getInteractionName

java.lang.String getInteractionName()

OpenLiberty.org - Licensed under Apache APL 2.0