|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.identity.saml.protocol.AbstractResponse
com.sun.identity.federation.message.FSNameIdentifierMappingResponse
The class FSNameIdentifierMappingResponse is used to
create or parse NameIdentifierMappingResponse.
| Constructor Summary | |
FSNameIdentifierMappingResponse(org.w3c.dom.Element root)
Constructor |
|
FSNameIdentifierMappingResponse(java.lang.String providerID,
java.lang.String inResponseTo,
Status status,
NameIdentifier nameIdentifier)
Constructor |
|
| Method Summary | |
NameIdentifier |
getNameIdentifier()
Get the resulting mapped name identifier for the desired identity federation |
java.lang.String |
getProviderID()
Get the responding service provider's ID |
Status |
getStatus()
Get the status of request reception and processing |
static FSNameIdentifierMappingResponse |
parseXML(java.lang.String xml)
Parse the XML and creates an Response |
void |
signXML()
Sign the XML document representing NameIdentifierMappingResponse using the certificate indicated by the property "com.sun.identity.saml.xmlsig.certalias" in AMConfig.properties file |
void |
signXML(java.lang.String certAlias)
Sign the XML document representing NameIdentifierMappingResponse using the specified certificate. |
java.lang.String |
toXMLString()
Gets a String representation of the FSNameIdentifierMappingResponse element. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS)
Gets a String representation of the FSNameIdentifierMappingResponse element. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Gets a String representation of the FSNameIdentifierMappingResponse element. |
| Methods inherited from class com.sun.identity.saml.protocol.AbstractResponse |
getInResponseTo, getIssueInstant, getMajorVersion, getMinorVersion, getRecipient, getResponseID, getSignature, isSignatureValid, isSigned, setInResponseTo, setIssueInstant, setMajorVersion, setMinorVersion, setRecipient, setResponseID, setSignature |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FSNameIdentifierMappingResponse(java.lang.String providerID,
java.lang.String inResponseTo,
Status status,
NameIdentifier nameIdentifier)
throws FSMsgException
inResponseTo - the original request IDstatus - the status code indicating the reception and processing
status of the messagenameIdentifier - the resulting mapped identifier for the desired
identity federation.
FSMsgException
public FSNameIdentifierMappingResponse(org.w3c.dom.Element root)
throws FSMsgException
root - NameIdentifierMappingResponse XML root element
FSMsgException| Method Detail |
public static FSNameIdentifierMappingResponse parseXML(java.lang.String xml)
throws FSMsgException
xml - XML String
FSMsgExceptionpublic java.lang.String getProviderID()
public Status getStatus()
public NameIdentifier getNameIdentifier()
public void signXML()
throws SAMLException
signXML in class AbstractResponseSAMLException - if unable to sign the object.
public void signXML(java.lang.String certAlias)
throws SAMLException
certAlias - the alias/name of the certificate used for signing
the XML document
SAMLException - if unable to sign the object.
public java.lang.String toXMLString()
throws FSMsgException
FSNameIdentifierMappingResponse element.
FSMsgException - if unable to get the XML string.
public java.lang.String toXMLString(boolean includeNS,
boolean declareNS)
throws FSMsgException
FSNameIdentifierMappingResponse element.
includeNS - 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.
FSMsgException - if unable to get the XML string.
public java.lang.String toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
throws FSMsgException
FSNameIdentifierMappingResponse element.
includeNS - 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.includeHeader - Determines whether the output include the XML
declaration header.
FSMsgException - if unable to get the XML string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||