Class StatusResponseTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
org.opensaml.saml.saml2.core.impl.StatusResponseTypeImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,SignableSAMLObject,StatusResponseType,SignableXMLObject
- Direct Known Subclasses:
ArtifactResponseImpl,LogoutResponseImpl,ManageNameIDResponseImpl,NameIDMappingResponseImpl,ResponseImpl
public abstract class StatusResponseTypeImpl
extends AbstractSignableSAMLObject
implements StatusResponseType
Concrete implementation of
StatusResponseType.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringConsent attribute.private StringDestination attribute.private ExtensionsExtensions child element.private StringID attribute.private StringInResponseTo attribute.private InstantIssueInstant attribute.private IssuerIssuer child element.private StatusStatus child element.private SAMLVersionSAML Version attribute.Fields inherited from interface org.opensaml.saml.saml2.core.StatusResponseType
CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, IN_RESPONSE_TO_ATTRIB_NAME, 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
ConstructorsModifierConstructorDescriptionprotectedStatusResponseTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the consent obtained from the principal for sending this response.Gets the URI of the destination of the response.Gets the Extensions of this response.getID()Gets the unique identifier of the response.Gets the unique request identifier for which this is a response.Gets the date/time the response was issued.Gets the issuer of this response.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 Status of this response.Gets the SAML Version of this response.voidsetConsent(String newConsent) Sets the consent obtained from the principal for sending this response.voidsetDestination(String newDestination) Sets the URI of the destination of the response.voidsetExtensions(Extensions newExtensions) Sets the Extensions of this response.voidSets the unique identifier of the response.voidsetInResponseTo(String newInResponseTo) Sets the unique request identifier for which this is a response.voidsetIssueInstant(Instant newIssueInstant) Sets the date/time the response was issued.voidSets the issuer of this response.voidSets the Status of this response.voidsetVersion(SAMLVersion newVersion) Sets the SAML Version of this response.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 attribute. -
id
ID attribute. -
inResponseTo
InResponseTo attribute. -
issueInstant
IssueInstant attribute. -
destination
Destination attribute. -
consent
Consent attribute. -
issuer
Issuer child element. -
extensions
Extensions child element. -
status
Status child element.
-
-
Constructor Details
-
StatusResponseTypeImpl
protected StatusResponseTypeImpl(@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 response.- Specified by:
getVersionin interfaceStatusResponseType- Returns:
- the SAML Version of this response.
-
setVersion
Sets the SAML Version of this response.- Specified by:
setVersionin interfaceStatusResponseType- Parameters:
newVersion- the SAML Version of this response
-
getID
Gets the unique identifier of the response.- Specified by:
getIDin interfaceStatusResponseType- Returns:
- the unique identifier of the response
-
setID
Sets the unique identifier of the response.- Specified by:
setIDin interfaceStatusResponseType- Parameters:
newID- the unique identifier of the response
-
getInResponseTo
Gets the unique request identifier for which this is a response.- Specified by:
getInResponseToin interfaceStatusResponseType- Returns:
- the unique identifier of the originating request
-
setInResponseTo
Sets the unique request identifier for which this is a response.- Specified by:
setInResponseToin interfaceStatusResponseType- Parameters:
newInResponseTo- the unique identifier of the originating request
-
getIssueInstant
Gets the date/time the response was issued.- Specified by:
getIssueInstantin interfaceStatusResponseType- Returns:
- the date/time the response was issued
-
setIssueInstant
Sets the date/time the response was issued.- Specified by:
setIssueInstantin interfaceStatusResponseType- Parameters:
newIssueInstant- the date/time the response was issued
-
getDestination
Gets the URI of the destination of the response.- Specified by:
getDestinationin interfaceStatusResponseType- Returns:
- the URI of the destination of the response
-
setDestination
Sets the URI of the destination of the response.- Specified by:
setDestinationin interfaceStatusResponseType- Parameters:
newDestination- the URI of the destination of the response
-
getConsent
Gets the consent obtained from the principal for sending this response.- Specified by:
getConsentin interfaceStatusResponseType- Returns:
- the consent obtained from the principal for sending this response
-
setConsent
Sets the consent obtained from the principal for sending this response.- Specified by:
setConsentin interfaceStatusResponseType- Parameters:
newConsent- the consent obtained from the principal for sending this response
-
getIssuer
Gets the issuer of this response.- Specified by:
getIssuerin interfaceStatusResponseType- Returns:
- the issuer of this response
-
setIssuer
Sets the issuer of this response.- Specified by:
setIssuerin interfaceStatusResponseType- Parameters:
newIssuer- the issuer of this response
-
getExtensions
Gets the Extensions of this response.- Specified by:
getExtensionsin interfaceStatusResponseType- Returns:
- the Status of this response
-
setExtensions
Sets the Extensions of this response.- Specified by:
setExtensionsin interfaceStatusResponseType- Parameters:
newExtensions- the Extensions of this response
-
getStatus
Gets the Status of this response.- Specified by:
getStatusin interfaceStatusResponseType- Returns:
- the Status of this response
-
setStatus
Sets the Status of this response.- Specified by:
setStatusin interfaceStatusResponseType- Parameters:
newStatus- the Status of this response
-
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
-