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.
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
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.