Project Aristotle - ArisID Attribute Services

org.openliberty.arisid.policy
Interface IPurposeConstraint

All Superinterfaces:
IAssertion, IPolicyComponent

public interface IPurposeConstraint
extends IAssertion

Describes the usage context in which data is sought or the context in which data is being provided.

 <element name="PurposeConstraint">
     <complexType>
         <attribute ref="pri:Issuer"/>
         <attribute name="uri" type="anyURI" use="required"/>
     </complexType>
 </element>
 
This specification defines a single standard URI for constraining purpose.
urn:liberty:names:1.0:igf:pri:purpose:context
Indicates that the purpose for which the data value is sought SHOULD be determined from application context.
The application context may be determined in many different ways, including for example, by examining the message carrying the constraint.

The expectation is that communities will define additional URIs based on rules for industry verticals and national jurisdictions.


Field Summary
static java.lang.String ELEMENT
           
static java.lang.String NAMESPACE
           
static javax.xml.namespace.QName qelement
           
static java.lang.String URI_PURPOSE_CONTEXT
          Indicates that the purpose for which the data value is sought SHOULD be determined from application context.
 
Fields inherited from interface org.openliberty.arisid.policy.IAssertion
ISSUER_ATTR, URI_ISSUER_APPLICATION, URI_ISSUER_AUTHORITY, URI_ISSUER_USER
 
Method Summary
 java.net.URI getPurposeUri()
          Returns purposeUri attribute value from assertion
 
Methods inherited from interface org.openliberty.arisid.policy.IAssertion
getIssuerUri, getName, isOptional, toString
 
Methods inherited from interface org.openliberty.arisid.policy.IPolicyComponent
equal, getType, serialize
 

Field Detail

NAMESPACE

static final java.lang.String NAMESPACE
See Also:
Constant Field Values

ELEMENT

static final java.lang.String ELEMENT
See Also:
Constant Field Values

qelement

static final javax.xml.namespace.QName qelement

URI_PURPOSE_CONTEXT

static final java.lang.String URI_PURPOSE_CONTEXT
Indicates that the purpose for which the data value is sought SHOULD be determined from application context.

See Also:
Constant Field Values
Method Detail

getPurposeUri

java.net.URI getPurposeUri()
Returns purposeUri attribute value from assertion

Returns:
purposeUri URI describing the intended value.

OpenLiberty.org - Licensed under Apache APL 2.0