Class FSAuthnResponseEnvelope
- java.lang.Object
-
- com.sun.identity.federation.message.FSAuthnResponseEnvelope
-
@Deprecated public class FSAuthnResponseEnvelope extends Object
Deprecated.since 12.0.0This class defines methods for setting and retrieving attributes and elements associated with a Liberty Response .
-
-
Constructor Summary
Constructors Constructor Description FSAuthnResponseEnvelope()Deprecated.Default Constructor.FSAuthnResponseEnvelope(FSAuthnResponse authnResponse)Deprecated.Constructor createFSAuthnResponseEnvelopeobject.FSAuthnResponseEnvelope(Element root)Deprecated.Constructor createFSAuthnResponseEnvelopeobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAssertionConsumerServiceURL()Deprecated.Returns the Assertion Consumer Service URL.FSAuthnResponsegetAuthnResponse()Deprecated.Returns theFSAuthnResponseobject.intgetMinorVersion()Deprecated.Returns the value ofMinorVersionattribute.ListgetOtherElements()Deprecated.Returns a list of elements.static FSAuthnResponseEnvelopeparseBASE64EncodedString(String encodedReq)Deprecated.ReturnsFSAuthnResponseEnvelopeobject.static FSAuthnResponseEnvelopeparseXML(String xml)Deprecated.Returns theFSAuthnResponseEnvelopeobject.voidsetAssertionConsumerServiceURL(String assertionConsumerUrl)Deprecated.Sets the Assertion Consumer Service URL.voidsetAuthnResponse(FSAuthnResponse authnResponse)Deprecated.Sets theFSAuthnResponseobject.voidsetMinorVersion(int minorVersion)Deprecated.Sets the value ofMinorVersionattribute.voidsetOtherElements(List otherElement)Deprecated.Sets a list of elements.StringtoBASE64EncodedString()Deprecated.Returns aBase64Encoded String.StringtoXMLString()Deprecated.Returns XML document String for this object based on the Response Schema.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.Creates a String representation of theResponseobject.StringtoXMLString(boolean includeNS, boolean declareNS, boolean includeHeader)Deprecated.Creates a String representation of theResponseobject.
-
-
-
Constructor Detail
-
FSAuthnResponseEnvelope
public FSAuthnResponseEnvelope()
Deprecated.Default Constructor.
-
FSAuthnResponseEnvelope
public FSAuthnResponseEnvelope(FSAuthnResponse authnResponse)
Deprecated.Constructor createFSAuthnResponseEnvelopeobject.- Parameters:
authnResponse- theFSAuthnResponseobject.
-
FSAuthnResponseEnvelope
public FSAuthnResponseEnvelope(Element root) throws FSMsgException, SAMLException
Deprecated.Constructor createFSAuthnResponseEnvelopeobject.- Parameters:
root- the Document element .- Throws:
FSMsgException- if there is an error creating the object.SAMLException- if there is an error creating the object.
-
-
Method Detail
-
getMinorVersion
public int getMinorVersion()
Deprecated.Returns the value ofMinorVersionattribute.- Returns:
- the value of
MinorVersionattribute. - See Also:
setMinorVersion(int)
-
setMinorVersion
public void setMinorVersion(int minorVersion)
Deprecated.Sets the value ofMinorVersionattribute.- Parameters:
minorVersion- theMinorVersionattribute.
-
getOtherElements
public List getOtherElements()
Deprecated.Returns a list of elements.- Returns:
- list of elements.
- See Also:
setOtherElements(List)
-
setOtherElements
public void setOtherElements(List otherElement)
Deprecated.Sets a list of elements.- Parameters:
otherElement- a list of elements.- See Also:
getOtherElements()
-
getAuthnResponse
public FSAuthnResponse getAuthnResponse()
Deprecated.Returns theFSAuthnResponseobject.- Returns:
- the
FSAuthnResponseobject. - See Also:
setAuthnResponse(FSAuthnResponse)
-
setAuthnResponse
public void setAuthnResponse(FSAuthnResponse authnResponse)
Deprecated.Sets theFSAuthnResponseobject.- Parameters:
authnResponse- theFSAuthnResponseobject.- See Also:
getAuthnResponse()
-
getAssertionConsumerServiceURL
public String getAssertionConsumerServiceURL()
Deprecated.Returns the Assertion Consumer Service URL.- Returns:
- the Assertion Consumer Service URL.
- See Also:
setAssertionConsumerServiceURL(String)
-
setAssertionConsumerServiceURL
public void setAssertionConsumerServiceURL(String assertionConsumerUrl)
Deprecated.Sets the Assertion Consumer Service URL.- Parameters:
assertionConsumerUrl- the Assertion Consumer Service Identifier.- See Also:
getAssertionConsumerServiceURL()
-
parseXML
public static FSAuthnResponseEnvelope parseXML(String xml) throws FSMsgException
Deprecated.Returns theFSAuthnResponseEnvelopeobject.- Parameters:
xml- the XML string to create this object from- Returns:
FSAuthnResponseEnvelopeobject.- Throws:
FSMsgException- if there is error creating the object.
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns XML document String for this object based on the Response Schema.- Returns:
- XML String representing the
Response - Throws:
FSMsgException- if there is an error.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
Deprecated.Creates a String representation of theResponseobject.- Parameters:
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.- Returns:
- A string containing the valid XML for this element.
- Throws:
FSMsgException- if there is an error.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS, boolean includeHeader) throws FSMsgException
Deprecated.Creates a String representation of theResponseobject.- Parameters:
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.- Returns:
- a string containing the valid XML for this object.
- Throws:
FSMsgException- if there is an error.
-
toBASE64EncodedString
public String toBASE64EncodedString() throws FSMsgException
Deprecated.Returns aBase64Encoded String.- Returns:
- a
Base64Encoded String. - Throws:
FSMsgException- if there is an error encoding the string.
-
parseBASE64EncodedString
public static FSAuthnResponseEnvelope parseBASE64EncodedString(String encodedReq) throws FSMsgException
Deprecated.ReturnsFSAuthnResponseEnvelopeobject. The object is creating by parsing theBase64encodedXMLstring.- Parameters:
encodedReq- theBased64encodedXMLstring.- Throws:
FSMsgException- if there is an error creatingFSAuthnResponseEnvelopeobject.
-
-