Class NameIDMappingResponseImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.StatusResponseImpl
-
- com.sun.identity.saml2.protocol.impl.NameIDMappingResponseImpl
-
- All Implemented Interfaces:
NameIDMappingResponse,StatusResponse
public class NameIDMappingResponseImpl extends StatusResponseImpl implements NameIDMappingResponse
-
-
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 NameIDMappingResponseImpl()Constructor to createManageNameIDResponseObject.NameIDMappingResponseImpl(String xmlString)Constructor to createManageNameIDResponseObject.NameIDMappingResponseImpl(Element element)Constructor to createManageNameIDResponseObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedIDgetEncryptedID()Returns the value of theencryptedIDproperty.NameIDgetNameID()Returns the value of thenameIDproperty.voidsetEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidsetNameID(NameID value)Sets the value of thenameIDproperty.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.protected voidvalidateData()-
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, 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
-
NameIDMappingResponseImpl
public NameIDMappingResponseImpl()
Constructor to createManageNameIDResponseObject.
-
NameIDMappingResponseImpl
public NameIDMappingResponseImpl(Element element) throws SAML2Exception
Constructor to createManageNameIDResponseObject.- Parameters:
element- Document Element ofManageNameIDRequestobject.- Throws:
SAML2Exception- ifManageNameIDRequestcannot be created.
-
NameIDMappingResponseImpl
public NameIDMappingResponseImpl(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.
-
getEncryptedID
public EncryptedID getEncryptedID()
Returns the value of theencryptedIDproperty.- Specified by:
getEncryptedIDin interfaceNameIDMappingResponse- Returns:
- the value of the
encryptedIDproperty. - See Also:
setEncryptedID(EncryptedID)
-
setEncryptedID
public void setEncryptedID(EncryptedID value) throws SAML2Exception
Sets the value of theencryptedIDproperty.- Specified by:
setEncryptedIDin interfaceNameIDMappingResponse- Parameters:
value- the value of theencryptedIDproperty.- Throws:
SAML2Exception- ifObjectis immutable.- See Also:
getEncryptedID()
-
getNameID
public NameID getNameID()
Returns the value of thenameIDproperty.- Specified by:
getNameIDin interfaceNameIDMappingResponse- Returns:
- the value of the
nameIDproperty. - See Also:
setNameID(NameID)
-
setNameID
public void setNameID(NameID value) throws SAML2Exception
Sets the value of thenameIDproperty.- Specified by:
setNameIDin interfaceNameIDMappingResponse- Parameters:
value- the value of thenameIDproperty.- Throws:
SAML2Exception- ifObjectis immutable.- See Also:
getNameID()
-
validateData
protected void validateData() throws SAML2Exception- Overrides:
validateDatain classStatusResponseImpl- Throws:
SAML2Exception
-
-