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 StringURI of the SAML user consent type.private StringURI of the request destination.private ExtensionsExtensions child element.private StringUnique identifier of the request.private InstantDate/time request was issued.private IssuerURI of the SAML user consent type.private SAMLVersionSAML 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
ConstructorsModifierConstructorDescriptionprotectedRequestAbstractTypeImpl(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.voidsetConsent(String newConsent) Sets the consent obtained from the principal for sending this request.voidsetDestination(String newDestination) Sets the URI of the destination of the request.voidsetExtensions(Extensions newExtensions) Sets the Extensions of this request.voidSets the unique identifier of the request.voidsetIssueInstant(Instant newIssueInstant) Sets the date/time the request was issued.voidSets the issuer of this request.voidsetVersion(SAMLVersion newVersion) Sets the SAML Version of this request.Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignatureMethods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSignedMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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:
getVersionin interfaceRequestAbstractType- Returns:
- the SAML Version of this request.
-
setVersion
Sets the SAML Version of this request.- Specified by:
setVersionin interfaceRequestAbstractType- Parameters:
newVersion- the SAML Version of this request
-
getID
Gets the unique identifier of the request.- Specified by:
getIDin interfaceRequestAbstractType- Returns:
- the unique identifier of the request
-
setID
Sets the unique identifier of the request.- Specified by:
setIDin interfaceRequestAbstractType- Parameters:
newID- the unique identifier of the request
-
getIssueInstant
Gets the date/time the request was issued.- Specified by:
getIssueInstantin interfaceRequestAbstractType- Returns:
- the date/time the request was issued
-
setIssueInstant
Sets the date/time the request was issued.- Specified by:
setIssueInstantin interfaceRequestAbstractType- Parameters:
newIssueInstant- the date/time the request was issued
-
getDestination
Gets the URI of the destination of the request.- Specified by:
getDestinationin interfaceRequestAbstractType- Returns:
- the URI of the destination of the request
-
setDestination
Sets the URI of the destination of the request.- Specified by:
setDestinationin 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:
getConsentin 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:
setConsentin interfaceRequestAbstractType- Parameters:
newConsent- the new consent obtained from the principal for sending this request
-
getIssuer
Gets the issuer of this request.- Specified by:
getIssuerin interfaceRequestAbstractType- Returns:
- the issuer of this request
-
setIssuer
Sets the issuer of this request.- Specified by:
setIssuerin interfaceRequestAbstractType- Parameters:
newIssuer- the issuer of this request
-
getExtensions
Gets the Extensions of this request.- Specified by:
getExtensionsin interfaceRequestAbstractType- Returns:
- the Status of this request
-
setExtensions
Sets the Extensions of this request.- Specified by:
setExtensionsin 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:
getSignatureReferenceIDin 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:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-