@Deprecated public class FSNameIdentifierMappingRequest extends AbstractRequest
FSNameIdentifierMappingRequest
is used to
create or parse NameIdentifierMappingRequest.
issueInstant, majorVersion, requestID, respondWiths, signature, signed, valid
Constructor and Description |
---|
FSNameIdentifierMappingRequest(Element root)
Deprecated.
Constructor to create
FSNameIdentifierMappingRequest |
FSNameIdentifierMappingRequest(String providerID,
NameIdentifier nameIdentifier,
String targetNamespace)
Deprecated.
Constructor to create
FSNameIdentifierMappingRequest |
Modifier and Type | Method and Description |
---|---|
NameIdentifier |
getNameIdentifier()
Deprecated.
Returns the
NameIdentifier object qualified by the
requesting service provider . |
String |
getProviderID()
Deprecated.
Returns the
ProviderID attribute. |
String |
getTargetNamespace()
Deprecated.
Returns the value of
TargetNamespace attribute. |
static FSNameIdentifierMappingRequest |
parseXML(String xml)
Deprecated.
Returns
FSNameIdentifierMappingRequest object. |
void |
signXML()
Deprecated.
Signs the XML document representing
NameIdentifierMappingRequest using the certificate
indicated by the property "com.sun.identity.saml.xmlsig.certalias"
in AMConfig.properties file. |
void |
signXML(String certAlias)
Deprecated.
Signs the XML document representing
NameIdentifierMappingRequest using the specified
certificate. |
String |
toXMLString()
Deprecated.
Returns the string representation of this object.
|
String |
toXMLString(boolean includeNS,
boolean declareNS)
Deprecated.
Returns the string representation of this object.
|
String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Deprecated.
Returns a String representation of the <samlp:Response> element.
|
addRespondWith, getIssueInstant, getMajorVersion, getMinorVersion, getRequestID, getRespondWith, getSignature, isSignatureValid, isSigned, setIssueInstant, setMajorVersion, setMinorVersion, setRequestID, setSignature
public FSNameIdentifierMappingRequest(String providerID, NameIdentifier nameIdentifier, String targetNamespace) throws FSMsgException
FSNameIdentifierMappingRequest.
providerID
- the requesting provider's IDnameIdentifier
- the NameIdentifier
qualified by the
requesting service providertargetNamespace
- the provider ID of the other service provider
which the requesting service provider would
subsequently communicate withFSMsgException
- if there is an error creating the object.public FSNameIdentifierMappingRequest(Element root) throws FSMsgException
FSNameIdentifierMappingRequest from
the Document Element.
root
- the NameIdentifierMappingRequest
Document
element.FSMsgException
- if there is an error.public static FSNameIdentifierMappingRequest parseXML(String xml) throws FSMsgException
FSNameIdentifierMappingRequest
object. This
object is created by parsing the XML
string.xml
- XML
StringFSNameIdentifierMappingRequest
object.FSMsgException
- if there is an error creating this object.public String getProviderID()
ProviderID
attribute. This
is the requesting Service Providers's identifier.ProviderID
attribute.public NameIdentifier getNameIdentifier()
NameIdentifier
object qualified by the
requesting service provider .NameIdentifier
object qualified by the
requesting service provider .public String getTargetNamespace()
TargetNamespace
attribute.TargetNamespace
attribute.public void signXML() throws SAMLException
NameIdentifierMappingRequest
using the certificate
indicated by the property "com.sun.identity.saml.xmlsig.certalias"
in AMConfig.properties file.signXML
in class AbstractRequest
SAMLException
- if there is an error signing the XML document.public void signXML(String certAlias) throws SAMLException
NameIdentifierMappingRequest
using the specified
certificate.certAlias
- the alias (name) of the certificate used for signing
the XML documentSAMLException
- it there is an error.public String toXMLString() throws FSMsgException
FSMsgException
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
FSMsgException
- if there is an error converting
this object ot a string.public String toXMLString(boolean includeNS, boolean declareNS, boolean includeHeader) throws FSMsgException
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 there is an error converting
this object ot a string.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.