public class Consent
extends org.opensaml.xmlsec.signature.AbstractSignableXMLObject
implements org.opensaml.core.xml.AttributeExtensibleXMLObject
<xs:complexType name="ConsentType">
<xs:attribute name="uri" type="xs:anyURI" use="required"/>
<xs:attribute name="timestamp" type="xs:dateTime" use="optional"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:element name="Consent" type="ConsentType"/>
| Modifier and Type | Class and Description |
|---|---|
static class |
Consent.Builder
Internal Builder
|
static class |
Consent.Marshaller
Internal Marshaller
|
static class |
Consent.Unmarshaller
Internal Unmarshaller
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ATT_TIMESTAMP |
static String |
ATT_URI |
static String |
LOCAL_NAME |
static String |
PRINCIPAL_CONSENT_OBTAINED_URI |
private DateTime |
timestamp
For denoting the time at which the sender obtained Principal consent with the POC.
|
private org.opensaml.core.xml.util.AttributeMap |
unknownAttributes |
private String |
uri
A URI indicating that the Principal�s consent was obtained.
|
| Constructor and Description |
|---|
Consent() |
Consent(String namespaceURI,
String elementLocalName,
String namespacePrefix) |
| Modifier and Type | Method and Description |
|---|---|
List<org.opensaml.core.xml.XMLObject> |
getOrderedChildren() |
DateTime |
getTimestamp() |
org.opensaml.core.xml.util.AttributeMap |
getUnknownAttributes() |
String |
getUri() |
void |
setTimestamp(DateTime timestamp) |
void |
setUri(String uri) |
getSignature, isSigned, setSignaturedetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationpublic static final String LOCAL_NAME
public static final String PRINCIPAL_CONSENT_OBTAINED_URI
private String uri
Optionally, the URI MAY identify a particular Consent Agreement Statement defining the specific nature of the consent obtained.
This specification defines one well-known URI Liberty implementors and deployers MAY use to indicate positive Principal consent was obtained with respect to whatever ID-* interaction is underway or being initiated. This URI is known as the "Principal Consent Obtained" URI (PCO). The value of this URI is: urn:liberty:consent:obtained
This URI does not correspond to any particular Consent Agreement Statement. Rather, it simply states that consent was obtained. The full meaning and implication of this will need to be derived from the execution context.
private DateTime timestamp
private org.opensaml.core.xml.util.AttributeMap unknownAttributes
public static final String ATT_URI
public static final String ATT_TIMESTAMP
public DateTime getTimestamp()
public void setTimestamp(DateTime timestamp)
public String getUri()
public void setUri(String uri)
public org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()
getUnknownAttributes in interface org.opensaml.core.xml.AttributeExtensibleXMLObjectpublic List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
getOrderedChildren in interface org.opensaml.core.xml.XMLObjectCopyright © 1999–2015. All rights reserved.