Class RequestAbstractTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
org.opensaml.saml.saml2.core.impl.RequestAbstractTypeImpl
- All Implemented Interfaces:
XMLObject
,SAMLObject
,SignableSAMLObject
,RequestAbstractType
,SignableXMLObject
- Direct Known Subclasses:
ArtifactResolveImpl
,AssertionIDRequestImpl
,AuthnRequestImpl
,LogoutRequestImpl
,ManageNameIDRequestImpl
,NameIDMappingRequestImpl
,SubjectQueryImpl
,XACMLAuthzDecisionQueryTypeImpl
,XACMLPolicyQueryTypeImpl
public abstract class RequestAbstractTypeImpl
extends AbstractSignableSAMLObject
implements RequestAbstractType
Concrete implementation of
RequestAbstractType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
URI of the SAML user consent type.private String
URI of the request destination.private Extensions
Extensions child element.private String
Unique identifier of the request.private Instant
Date/time request was issued.private Issuer
URI of the SAML user consent type.private SAMLVersion
SAML Version of the request.Fields inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType
CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_QNAME, OBTAINED_CONSENT, PRIOR_CONSENT, TYPE_LOCAL_NAME, TYPE_NAME, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RequestAbstractTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the consent obtained from the principal for sending this request.Gets the URI of the destination of the request.Gets the Extensions of this request.getID()
Gets the unique identifier of the request.Gets the date/time the request was issued.Gets the issuer of this request.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the value of the ID attribute for this SAML object which will be used as its signature reference.Gets the SAML Version of this request.void
setConsent
(String newConsent) Sets the consent obtained from the principal for sending this request.void
setDestination
(String newDestination) Sets the URI of the destination of the request.void
setExtensions
(Extensions newExtensions) Sets the Extensions of this request.void
Sets the unique identifier of the request.void
setIssueInstant
(Instant newIssueInstant) Sets the date/time the request was issued.void
Sets the issuer of this request.void
setVersion
(SAMLVersion newVersion) Sets the SAML Version of this request.Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, setSchemaType
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
version
SAML Version of the request. -
id
Unique identifier of the request. -
issueInstant
Date/time request was issued. -
destination
URI of the request destination. -
consent
URI of the SAML user consent type. -
issuer
URI of the SAML user consent type. -
extensions
Extensions child element.
-
-
Constructor Details
-
RequestAbstractTypeImpl
protected RequestAbstractTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getVersion
Gets the SAML Version of this request.- Specified by:
getVersion
in interfaceRequestAbstractType
- Returns:
- the SAML Version of this request.
-
setVersion
Sets the SAML Version of this request.- Specified by:
setVersion
in interfaceRequestAbstractType
- Parameters:
newVersion
- the SAML Version of this request
-
getID
Gets the unique identifier of the request.- Specified by:
getID
in interfaceRequestAbstractType
- Returns:
- the unique identifier of the request
-
setID
Sets the unique identifier of the request.- Specified by:
setID
in interfaceRequestAbstractType
- Parameters:
newID
- the unique identifier of the request
-
getIssueInstant
Gets the date/time the request was issued.- Specified by:
getIssueInstant
in interfaceRequestAbstractType
- Returns:
- the date/time the request was issued
-
setIssueInstant
Sets the date/time the request was issued.- Specified by:
setIssueInstant
in interfaceRequestAbstractType
- Parameters:
newIssueInstant
- the date/time the request was issued
-
getDestination
Gets the URI of the destination of the request.- Specified by:
getDestination
in interfaceRequestAbstractType
- Returns:
- the URI of the destination of the request
-
setDestination
Sets the URI of the destination of the request.- Specified by:
setDestination
in interfaceRequestAbstractType
- Parameters:
newDestination
- the URI of the destination of the request
-
getConsent
Gets the consent obtained from the principal for sending this request.- Specified by:
getConsent
in interfaceRequestAbstractType
- Returns:
- the consent obtained from the principal for sending this request
-
setConsent
Sets the consent obtained from the principal for sending this request.- Specified by:
setConsent
in interfaceRequestAbstractType
- Parameters:
newConsent
- the new consent obtained from the principal for sending this request
-
getIssuer
Gets the issuer of this request.- Specified by:
getIssuer
in interfaceRequestAbstractType
- Returns:
- the issuer of this request
-
setIssuer
Sets the issuer of this request.- Specified by:
setIssuer
in interfaceRequestAbstractType
- Parameters:
newIssuer
- the issuer of this request
-
getExtensions
Gets the Extensions of this request.- Specified by:
getExtensions
in interfaceRequestAbstractType
- Returns:
- the Status of this request
-
setExtensions
Sets the Extensions of this request.- Specified by:
setExtensions
in interfaceRequestAbstractType
- Parameters:
newExtensions
- the Extensions of this request
-
getSignatureReferenceID
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.- Specified by:
getSignatureReferenceID
in interfaceSignableSAMLObject
- Returns:
- the value of this SAMLObject ID attribute
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-