Class ArtifactResolveImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
-
- com.sun.identity.saml2.protocol.impl.ArtifactResolveImpl
-
- All Implemented Interfaces:
ArtifactResolve,RequestAbstract
public class ArtifactResolveImpl extends RequestAbstractImpl implements ArtifactResolve
This is an implementation of interfaceArtifactResolve. TheArtifactResolvemessage is used to request that a SAML protocol message be returned in anArtifactResponsemessage by specifying an artifact that represents the SAML protocol message. It has the complex typeArtifactResolveType.<complexType name="ArtifactResolveType"> <complexContent> <extension base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType"> <sequence> <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}Artifact"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
-
Fields inherited from class com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
consent, destinationURI, elementName, extensions, isMutable, isSignatureValid, isSigned, issueInstant, nameID, publicKey, requestId, signatureString, signedXMLString, version
-
-
Constructor Summary
Constructors Constructor Description ArtifactResolveImpl()Constructor.ArtifactResolveImpl(String xmlString)Class constructor withArtifactResolvein xml string format.ArtifactResolveImpl(Element element)Class constructor withArtifactResolveinElementformat.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactgetArtifact()Gets theArtifactof the request.voidsetArtifact(Artifact value)Sets theArtifactof the request.StringtoXMLString()Returns a String representation of this Object.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationprotected voidvalidateData()-
Methods inherited from class com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
getAttributesString, getConsent, getDestination, getElements, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, getXMLString, isMutable, isSignatureValid, isSigned, makeImmutable, parseDOMAttributes, parseDOMChileElements, parseDOMElement, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, validateID, validateIssueInstant, validateVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.identity.saml2.protocol.RequestAbstract
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign
-
-
-
-
Constructor Detail
-
ArtifactResolveImpl
public ArtifactResolveImpl()
Constructor. Caller may need to call setters to populate the object.
-
ArtifactResolveImpl
public ArtifactResolveImpl(Element element) throws SAML2Exception
Class constructor withArtifactResolveinElementformat.- Parameters:
element- the Document Element- Throws:
SAML2Exception- if there is an creating the object.
-
ArtifactResolveImpl
public ArtifactResolveImpl(String xmlString) throws SAML2Exception
Class constructor withArtifactResolvein xml string format.- Throws:
SAML2Exception
-
-
Method Detail
-
validateData
protected void validateData() throws SAML2Exception- Overrides:
validateDatain classRequestAbstractImpl- Throws:
SAML2Exception
-
getArtifact
public Artifact getArtifact()
Gets theArtifactof the request.- Specified by:
getArtifactin interfaceArtifactResolve- Returns:
Artifactof the request.- See Also:
setArtifact(Artifact)
-
setArtifact
public void setArtifact(Artifact value) throws SAML2Exception
Sets theArtifactof the request.- Specified by:
setArtifactin interfaceArtifactResolve- Parameters:
value- newArtifact.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getArtifact()
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLStringin interfaceRequestAbstract- Overrides:
toXMLStringin classRequestAbstractImpl- Returns:
- a String representation of this Object.
- Throws:
SAML2Exception- if it could not create String object
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation- Specified by:
toXMLStringin interfaceRequestAbstract- Overrides:
toXMLStringin classRequestAbstractImpl- Parameters:
includeNSPrefix- determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- determines whether or not the namespace is declared within the Element.- Returns:
- a String representation of this Object.
- Throws:
SAML2Exception- if it could not create String object.
-
-