|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.identity.saml.protocol.AbstractRequest
com.sun.identity.federation.message.FSNameIdentifierMappingRequest
The class FSNameIdentifierMappingRequest is used to
create or parse NameIdentifierMappingRequest.
| Constructor Summary | |
FSNameIdentifierMappingRequest(org.w3c.dom.Element root)
Constructor |
|
FSNameIdentifierMappingRequest(java.lang.String providerID,
NameIdentifier nameIdentifier,
java.lang.String targetNamespace)
Constructor |
|
| Method Summary | |
NameIdentifier |
getNameIdentifier()
Get the Name Identifier qualified by the requesting service provider |
java.lang.String |
getProviderID()
Get the requesting service provider's ID |
java.lang.String |
getTargetNamespace()
Get the provider ID of the other service provider which the requesting service provider would subsequently communicate with |
static FSNameIdentifierMappingRequest |
parseXML(java.lang.String xml)
Parse the XML and creates an Request |
void |
signXML()
Sign the XML document representing NameIdentifierMappingRequest 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 NameIdentifierMappingRequest using the specified certificate. |
java.lang.String |
toXMLString()
Gets a String representation of the FSNameIdentifierMappingRequest element. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS)
Gets a String representation of the FSNameIdentifierMappingRequest element. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Gets a String representation of the FSNameIdentifierMappingRequest element. |
| Methods inherited from class com.sun.identity.saml.protocol.AbstractRequest |
addRespondWith, getIssueInstant, getMajorVersion, getMinorVersion, getRequestID, getRespondWith, getSignature, isSignatureValid, isSigned, setIssueInstant, setMajorVersion, setMinorVersion, setRequestID, setSignature |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FSNameIdentifierMappingRequest(java.lang.String providerID,
NameIdentifier nameIdentifier,
java.lang.String targetNamespace)
throws FSMsgException
nameIdentifier - the name ID qualified by the requesting service providertargetNamespace - the provider ID of the other service provider
which the requesting service provider would
subsequently communicate with
FSMsgException
public FSNameIdentifierMappingRequest(org.w3c.dom.Element root)
throws FSMsgException
root - NameIdentifierMappingRequest XML root element
FSMsgException| Method Detail |
public static FSNameIdentifierMappingRequest parseXML(java.lang.String xml)
throws FSMsgException
xml - XML String
FSMsgExceptionpublic java.lang.String getProviderID()
public NameIdentifier getNameIdentifier()
public java.lang.String getTargetNamespace()
public void signXML()
throws SAMLException
signXML in class AbstractRequestSAMLException - if unable to sign the request.
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 request.
public java.lang.String toXMLString()
throws FSMsgException
FSNameIdentifierMappingRequest element.
FSMsgException - if unable to get the XML string.
public java.lang.String toXMLString(boolean includeNS,
boolean declareNS)
throws FSMsgException
FSNameIdentifierMappingRequest 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
FSNameIdentifierMappingRequest 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 | |||||||||