Project Aristotle - ArisID Attribute Services

org.openliberty.arisid.policy
Interface IRetentionConstraint

All Superinterfaces:
IAssertion, IPolicyComponent

public interface IRetentionConstraint
extends IAssertion

Indicates whether the data value can be retained by the requestor, in memory or otherwise, and, optionally the time period for which it can be retained.

 <element name="PropagateConstraint">
     <complexType>
         <attribute ref="pri:Issuer"/>
         <attribute name="uri" type="anyURI" use="required"/>
     </complexType>
 </element>
 
This specification defines five standard URIs for constraining retention.
urn:liberty:names:1.0:igf:pri:retention:nocache
Indicates that the data value MUST NOT be cached or persisted and should be overwritten after a single use.
urn:liberty:names:1.0:igf:pri:retzention:transient
Indicates that the data value MAY be held in memory cache but MUST NOT be persisted.
urn:liberty:names:1.0:igf:pri:retention:persist
Indicates that the data value MAY be persisted.
urn:liberty:names:1.0:igf:pri:retention:persist:encrypt
Indicates that the data value MUST be encrypted when copied to persistent store.
urn:liberty:names:1.0:igf:pri:retention:nolog
Indicates that the data value MUST NOT be written to log.


Field Summary
static java.lang.String ELEMENT
           
static java.lang.String NAMESPACE
           
static javax.xml.namespace.QName qelement
           
static java.lang.String URI_RETEN_NOCACHE
           
static java.lang.String URI_RETEN_NOLOG
           
static java.lang.String URI_RETEN_PERSIST
           
static java.lang.String URI_RETEN_PERSIST_ENCRYPT
           
static java.lang.String URI_RETEN_TRANSIENT
           
 
Fields inherited from interface org.openliberty.arisid.policy.IAssertion
ISSUER_ATTR, URI_ISSUER_APPLICATION, URI_ISSUER_AUTHORITY, URI_ISSUER_USER
 
Method Summary
 ILifetimeConstraint getLifetime()
           
 java.net.URI getRetentionUri()
          Returns retentionUri 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_RETEN_NOCACHE

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

URI_RETEN_TRANSIENT

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

URI_RETEN_PERSIST

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

URI_RETEN_PERSIST_ENCRYPT

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

URI_RETEN_NOLOG

static final java.lang.String URI_RETEN_NOLOG
See Also:
Constant Field Values
Method Detail

getRetentionUri

java.net.URI getRetentionUri()
Returns retentionUri attribute value from assertion

Returns:
retentionUri value

getLifetime

ILifetimeConstraint getLifetime()
Returns:
Returns an ILifetimeConstraint indicating the duration of retention or null.

OpenLiberty.org - Licensed under Apache APL 2.0