org.opensaml.saml2.core.impl
Class StatusResponseTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
          extended by org.opensaml.xml.AbstractValidatingSignableXMLObject
              extended by org.opensaml.common.impl.AbstractSignableSAMLObject
                  extended by org.opensaml.saml2.core.impl.StatusResponseTypeImpl
All Implemented Interfaces:
SAMLObject, SignableSAMLObject, StatusResponseType, SignableXMLObject, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
ArtifactResponseImpl, LogoutResponseImpl, ManageNameIDResponseImpl, NameIDMappingResponseImpl, ResponseImpl

public abstract class StatusResponseTypeImpl
extends AbstractSignableSAMLObject
implements StatusResponseType

Concrete implementation of StatusResponseType.


Field Summary
private  String consent
          Consent attribute.
private  String destination
          Destination attribute.
private  Extensions extensions
          Extensions child element.
private  String id
          ID attribute.
private  String inResponseTo
          InResponseTo attribute.
private  org.joda.time.DateTime issueInstant
          IssueInstant attribute.
private  Issuer issuer
          Issuer child element.
private  Status status
          Status child element.
private  SAMLVersion version
          SAML Version attribute.
 
Fields inherited from interface org.opensaml.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, OBTAINED_CONSENT, PRIOR_CONSENT, TYPE_LOCAL_NAME, TYPE_NAME, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME
 
Constructor Summary
protected StatusResponseTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getConsent()
          Gets the consent obtained from the principal for sending this response.
 String getDestination()
          Gets the URI of the destination of the response.
 Extensions getExtensions()
          Gets the Extensions of this response.
 String getID()
          Gets the unique identifier of the response.
 String getInResponseTo()
          Gets the unique request identifier for which this is a response
 org.joda.time.DateTime getIssueInstant()
          Gets the date/time the response was issued.
 Issuer getIssuer()
          Gets the issuer of this response.
 List<XMLObject> getOrderedChildren()
          
 String getSignatureReferenceID()
          Gets the value of the ID attribute for this SAML object which will be used as its signature reference.
 Status getStatus()
          Gets the Status of this response.
 SAMLVersion getVersion()
          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 setID(String newID)
          Sets the unique identifier of the response.
 void setInResponseTo(String newInResponseTo)
          Sets the unique request identifier for which this is a response
 void setIssueInstant(org.joda.time.DateTime newIssueInstant)
          Sets the date/time the response was issued.
 void setIssuer(Issuer newIssuer)
          Sets the issuer of this response.
 void setStatus(Status newStatus)
          Sets the Status of this response.
 void setVersion(SAMLVersion newVersion)
          Sets the SAML Version of this response.
 
Methods inherited from class org.opensaml.common.impl.AbstractSignableSAMLObject
equals, prepareForAssignment, setSignature
 
Methods inherited from class org.opensaml.xml.AbstractValidatingSignableXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject
getSignature, isSigned
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.signature.SignableXMLObject
getSignature, isSigned, setSignature
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

version

private SAMLVersion version
SAML Version attribute.


id

private String id
ID attribute.


inResponseTo

private String inResponseTo
InResponseTo attribute.


issueInstant

private org.joda.time.DateTime issueInstant
IssueInstant attribute.


destination

private String destination
Destination attribute.


consent

private String consent
Consent attribute.


issuer

private Issuer issuer
Issuer child element.


extensions

private Extensions extensions
Extensions child element.


status

private Status status
Status child element.

Constructor Detail

StatusResponseTypeImpl

protected StatusResponseTypeImpl(String namespaceURI,
                                 String elementLocalName,
                                 String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getVersion

public SAMLVersion getVersion()
Gets the SAML Version of this response.

Specified by:
getVersion in interface StatusResponseType
Returns:
the SAML Version of this response.

setVersion

public void setVersion(SAMLVersion newVersion)
Sets the SAML Version of this response.

Specified by:
setVersion in interface StatusResponseType
Parameters:
newVersion - the SAML Version of this response

getID

public String getID()
Gets the unique identifier of the response.

Specified by:
getID in interface StatusResponseType
Returns:
the unique identifier of the response

setID

public void setID(String newID)
Sets the unique identifier of the response.

Specified by:
setID in interface StatusResponseType
Parameters:
newID - the unique identifier of the response

getInResponseTo

public String getInResponseTo()
Gets the unique request identifier for which this is a response

Specified by:
getInResponseTo in interface StatusResponseType
Returns:
the unique identifier of the originating request

setInResponseTo

public void setInResponseTo(String newInResponseTo)
Sets the unique request identifier for which this is a response

Specified by:
setInResponseTo in interface StatusResponseType
Parameters:
newInResponseTo - the unique identifier of the originating request

getIssueInstant

public org.joda.time.DateTime getIssueInstant()
Gets the date/time the response was issued.

Specified by:
getIssueInstant in interface StatusResponseType
Returns:
the date/time the response was issued

setIssueInstant

public void setIssueInstant(org.joda.time.DateTime newIssueInstant)
Sets the date/time the response was issued. param newIssueInstant the date/time the response was issued

Specified by:
setIssueInstant in interface StatusResponseType

getDestination

public String getDestination()
Gets the URI of the destination of the response.

Specified by:
getDestination in interface StatusResponseType
Returns:
the URI of the destination of the response

setDestination

public void setDestination(String newDestination)
Sets the URI of the destination of the response.

Specified by:
setDestination in interface StatusResponseType
Parameters:
newDestination - the URI of the destination of the response

getConsent

public String getConsent()
Gets the consent obtained from the principal for sending this response.

Specified by:
getConsent in interface StatusResponseType
Returns:
the consent obtained from the principal for sending this response

setConsent

public void setConsent(String newConsent)
Sets the consent obtained from the principal for sending this response.

Specified by:
setConsent in interface StatusResponseType
Parameters:
newConsent - the consent obtained from the principal for sending this response

getIssuer

public Issuer getIssuer()
Gets the issuer of this response.

Specified by:
getIssuer in interface StatusResponseType
Returns:
the issuer of this response

setIssuer

public void setIssuer(Issuer newIssuer)
Sets the issuer of this response.

Specified by:
setIssuer in interface StatusResponseType
Parameters:
newIssuer - the issuer of this response

getExtensions

public Extensions getExtensions()
Gets the Extensions of this response.

Specified by:
getExtensions in interface StatusResponseType
Returns:
the Status of this response

setExtensions

public void setExtensions(Extensions newExtensions)
Sets the Extensions of this response.

Specified by:
setExtensions in interface StatusResponseType
Parameters:
newExtensions - the Extensions of this response

getStatus

public Status getStatus()
Gets the Status of this response.

Specified by:
getStatus in interface StatusResponseType
Returns:
the Status of this response

setStatus

public void setStatus(Status newStatus)
Sets the Status of this response.

Specified by:
setStatus in interface StatusResponseType
Parameters:
newStatus - the Status of this response

getSignatureReferenceID

public String getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.

Specified by:
getSignatureReferenceID in interface SignableSAMLObject
Returns:
the value of this SAMLObject ID attribute

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.