Class IDPEntry
- java.lang.Object
-
- com.sun.identity.federation.message.common.IDPEntry
-
@Deprecated public class IDPEntry extends Object
Deprecated.since 12.0.0This class defines methods to set/retrieve single identity provider information trusted by the request issuer to authenticate the presenter.
-
-
Field Summary
Fields Modifier and Type Field Description static intLIB_TYPE_BROKERDeprecated.static intLIB_TYPE_IDPDeprecated.
-
Constructor Summary
Constructors Constructor Description IDPEntry()Deprecated.Default Constructor.IDPEntry(String providerID, String providerName, String location)Deprecated.Constructor createsIDPEntryobject.IDPEntry(Element root)Deprecated.Constructor createsIDPEntryObject from Document Element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetLocation()Deprecated.Returns the location URI of the Identity Provider.StringgetProviderID()Deprecated.Returns the value ofProviderIDattribute.StringgetProviderName()Deprecated.Returns the Identity Provider Name.voidsetLocation(String location)Deprecated.Sets the location URI of the Identity Provider.voidsetProviderID(String providerID)Deprecated.Sets the value ofProviderIDattribute.voidsetProviderName(String providerName)Deprecated.Sets the Identity Provider Name.StringtoXMLString()Deprecated.Returns the string representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.Returns a String representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS, boolean includeHeader)Deprecated.Returns a String representation of this object.
-
-
-
Field Detail
-
LIB_TYPE_IDP
public static final int LIB_TYPE_IDP
Deprecated.- See Also:
- Constant Field Values
-
LIB_TYPE_BROKER
public static final int LIB_TYPE_BROKER
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IDPEntry
public IDPEntry()
Deprecated.Default Constructor.
-
IDPEntry
public IDPEntry(String providerID, String providerName, String location)
Deprecated.Constructor createsIDPEntryobject.- Parameters:
providerID- the Identity Provider identifier.providerName- the Identity Provider name.location-
-
IDPEntry
public IDPEntry(Element root) throws FSMsgException
Deprecated.Constructor createsIDPEntryObject from Document Element.- Parameters:
root- Document Element ofIDPEntryobject.- Throws:
FSMsgException- ifIDPEntrycannot be created.
-
-
Method Detail
-
getProviderID
public String getProviderID()
Deprecated.Returns the value ofProviderIDattribute.- Returns:
- the value of
ProviderIDattribute. - See Also:
setProviderID(String)
-
setProviderID
public void setProviderID(String providerID)
Deprecated.Sets the value ofProviderIDattribute.- Parameters:
providerID- the value ofProviderIDattribute.- See Also:
getProviderID()
-
getProviderName
public String getProviderName()
Deprecated.Returns the Identity Provider Name.- Returns:
- the Identity Provider Name.
- See Also:
setProviderName(String)
-
setProviderName
public void setProviderName(String providerName)
Deprecated.Sets the Identity Provider Name.- Parameters:
providerName- the Identity Provider Name.- See Also:
getProviderName()
-
getLocation
public String getLocation()
Deprecated.Returns the location URI of the Identity Provider.- Returns:
- the location URI of the Identity Provider.
- See Also:
setLocation(String)
-
setLocation
public void setLocation(String location)
Deprecated.Sets the location URI of the Identity Provider.- Parameters:
location- the location URI of the Identity Provider.- See Also:
getLocation()
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns the string representation of this object. This method translates the response to an XML document string.- Returns:
- An XML String representing the response. NOTE: this is a complete SAML response xml string with ResponseID, MajorVersion, etc.
- Throws:
FSMsgException
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
Deprecated.Returns a String representation of this object.- 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 converting this object ot a string.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS, boolean includeHeader) throws FSMsgException
Deprecated.Returns a String representation of this object.- 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 element
- Throws:
FSMsgException- if there is an error converting this object ot a string.
-
-