Class ManageNameIDResponseImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.StatusResponseImpl
-
- com.sun.identity.saml2.protocol.impl.ManageNameIDResponseImpl
-
- All Implemented Interfaces:
ManageNameIDResponse,StatusResponse
public class ManageNameIDResponseImpl extends StatusResponseImpl implements ManageNameIDResponse
Java content class for ManageNameIDResponse element declaration.The following schema fragment specifies the expected content contained within this java content object.
<element name="ManageNameIDResponse" type="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType"/>
-
-
Field Summary
Fields Modifier and Type Field Description StringelementName-
Fields inherited from class com.sun.identity.saml2.protocol.impl.StatusResponseImpl
consent, destination, extensions, inResponseTo, isMutable, isSignatureValid, isSigned, issueInstant, issuer, publicKey, responseId, signatureString, signedXMLString, status, version
-
-
Constructor Summary
Constructors Constructor Description ManageNameIDResponseImpl()Constructor to createManageNameIDResponseObject.ManageNameIDResponseImpl(String xmlString)Constructor to createManageNameIDResponseObject.ManageNameIDResponseImpl(Element element)Constructor to createManageNameIDResponseObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoXMLString()Returns theManageNameIDResponsein an XML document String format based on theManageNameIDResponseschema described above.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns theManageNameIDResponsein an XML document String format based on theManageNameIDResponseschema described above.-
Methods inherited from class com.sun.identity.saml2.protocol.impl.StatusResponseImpl
getConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getSignature, getStatus, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion, sign, validateData, validateID, validateIssueInstant, validateStatus, 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.StatusResponse
getConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getSignature, getStatus, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion, sign
-
-
-
-
Field Detail
-
elementName
public final String elementName
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ManageNameIDResponseImpl
public ManageNameIDResponseImpl()
Constructor to createManageNameIDResponseObject.
-
ManageNameIDResponseImpl
public ManageNameIDResponseImpl(Element element) throws SAML2Exception
Constructor to createManageNameIDResponseObject.- Parameters:
element- Document Element ofManageNameIDRequestobject.- Throws:
SAML2Exception- ifManageNameIDRequestcannot be created.
-
ManageNameIDResponseImpl
public ManageNameIDResponseImpl(String xmlString) throws SAML2Exception
Constructor to createManageNameIDResponseObject.- Parameters:
xmlString- XML Representation of theManageNameIDRequestobject.- Throws:
SAML2Exception- ifManageNameIDRequestcannot be created.
-
-
Method Detail
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns theManageNameIDResponsein an XML document String format based on theManageNameIDResponseschema described above.- Specified by:
toXMLStringin interfaceStatusResponse- Overrides:
toXMLStringin classStatusResponseImpl- Returns:
- An XML String representing the
ManageNameIDResponse. - Throws:
SAML2Exception- ,if it could not create String object.
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns theManageNameIDResponsein an XML document String format based on theManageNameIDResponseschema described above.- Specified by:
toXMLStringin interfaceStatusResponse- Overrides:
toXMLStringin classStatusResponseImpl- Parameters:
includeNSPrefix- Determines whether the namespace qualifier is prepended to the Element when converteddeclareNS- Determines whether or not the namespace is declared within the Element.- Returns:
- A XML String representing the
ManageNameIDResponse. - Throws:
SAML2Exception- if it could not create String object.
-
-