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 String
Consent attribute.private String
Destination attribute.private Extensions
Extensions child element.private String
ID attribute.private String
InResponseTo attribute.private Instant
IssueInstant attribute.private Issuer
Issuer child element.private Status
Status child element.private SAMLVersion
SAML 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
ConstructorsModifierConstructorDescriptionprotected
StatusResponseTypeImpl
(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.void
setConsent
(String newConsent) Sets the consent obtained from the principal for sending this response.void
setDestination
(String newDestination) Sets the URI of the destination of the response.void
setExtensions
(Extensions newExtensions) Sets the Extensions of this response.void
Sets the unique identifier of the response.void
setInResponseTo
(String newInResponseTo) Sets the unique request identifier for which this is a response.void
setIssueInstant
(Instant newIssueInstant) Sets the date/time the response was issued.void
Sets the issuer of this response.void
Sets the Status of this response.void
setVersion
(SAMLVersion newVersion) Sets the SAML Version of this response.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 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(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 response.- Specified by:
getVersion
in interfaceStatusResponseType
- Returns:
- the SAML Version of this response.
-
setVersion
Sets the SAML Version of this response.- Specified by:
setVersion
in interfaceStatusResponseType
- Parameters:
newVersion
- the SAML Version of this response
-
getID
Gets the unique identifier of the response.- Specified by:
getID
in interfaceStatusResponseType
- Returns:
- the unique identifier of the response
-
setID
Sets the unique identifier of the response.- Specified by:
setID
in interfaceStatusResponseType
- Parameters:
newID
- the unique identifier of the response
-
getInResponseTo
Gets the unique request identifier for which this is a response.- Specified by:
getInResponseTo
in interfaceStatusResponseType
- Returns:
- the unique identifier of the originating request
-
setInResponseTo
Sets the unique request identifier for which this is a response.- Specified by:
setInResponseTo
in interfaceStatusResponseType
- Parameters:
newInResponseTo
- the unique identifier of the originating request
-
getIssueInstant
Gets the date/time the response was issued.- Specified by:
getIssueInstant
in interfaceStatusResponseType
- Returns:
- the date/time the response was issued
-
setIssueInstant
Sets the date/time the response was issued.- Specified by:
setIssueInstant
in interfaceStatusResponseType
- Parameters:
newIssueInstant
- the date/time the response was issued
-
getDestination
Gets the URI of the destination of the response.- Specified by:
getDestination
in interfaceStatusResponseType
- Returns:
- the URI of the destination of the response
-
setDestination
Sets the URI of the destination of the response.- Specified by:
setDestination
in 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:
getConsent
in 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:
setConsent
in interfaceStatusResponseType
- Parameters:
newConsent
- the consent obtained from the principal for sending this response
-
getIssuer
Gets the issuer of this response.- Specified by:
getIssuer
in interfaceStatusResponseType
- Returns:
- the issuer of this response
-
setIssuer
Sets the issuer of this response.- Specified by:
setIssuer
in interfaceStatusResponseType
- Parameters:
newIssuer
- the issuer of this response
-
getExtensions
Gets the Extensions of this response.- Specified by:
getExtensions
in interfaceStatusResponseType
- Returns:
- the Status of this response
-
setExtensions
Sets the Extensions of this response.- Specified by:
setExtensions
in interfaceStatusResponseType
- Parameters:
newExtensions
- the Extensions of this response
-
getStatus
Gets the Status of this response.- Specified by:
getStatus
in interfaceStatusResponseType
- Returns:
- the Status of this response
-
setStatus
Sets the Status of this response.- Specified by:
setStatus
in 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:
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
-