|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.identity.federation.message.common.IDPEntry
public class IDPEntry
This class defines methods to set/retrieve single identity provider information trusted by the request issuer to authenticate the presenter.
| Field Summary | |
|---|---|
static int |
LIB_TYPE_BROKER
|
static int |
LIB_TYPE_IDP
|
| Constructor Summary | |
|---|---|
IDPEntry()
Default Constructor. |
|
IDPEntry(Element root)
Constructor creates IDPEntry Object from
Document Element. |
|
IDPEntry(String providerID,
String providerName,
String location)
Constructor creates IDPEntry object. |
|
| Method Summary | |
|---|---|
String |
getLocation()
Returns the location URI of the Identity Provider. |
String |
getProviderID()
Returns the value of ProviderID attribute. |
String |
getProviderName()
Returns the Identity Provider Name. |
void |
setLocation(String location)
Sets the location URI of the Identity Provider. |
void |
setProviderID(String providerID)
Sets the value of ProviderID attribute. |
void |
setProviderName(String providerName)
Sets the Identity Provider Name. |
String |
toXMLString()
Returns the string representation of this object. |
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of this object. |
String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Returns a String representation of this object. |
| Field Detail |
|---|
public static final int LIB_TYPE_IDP
public static final int LIB_TYPE_BROKER
| Constructor Detail |
|---|
public IDPEntry()
public IDPEntry(String providerID,
String providerName,
String location)
IDPEntry object.
providerID - the Identity Provider identifier.providerName - the Identity Provider name.location -
public IDPEntry(Element root)
throws FSMsgException
IDPEntry Object from
Document Element.
root - Document Element of IDPEntry object.
- Throws:
FSMsgException - if IDPEntry cannot be created.| Method Detail |
|---|
public String getProviderID()
ProviderID attribute.
ProviderID attribute.IDPEntry.setProviderID(String)public void setProviderID(String providerID)
ProviderID attribute.
providerID - the value of ProviderID attribute.IDPEntry.getProviderID()public String getProviderName()
IDPEntry.setProviderName(String)public void setProviderName(String providerName)
providerName - the Identity Provider Name.IDPEntry.getProviderName()public String getLocation()
IDPEntry.setLocation(String)public void setLocation(String location)
location - the location URI of the Identity Provider.IDPEntry.getLocation()
public String toXMLString()
throws FSMsgException
FSMsgException
public String toXMLString(boolean includeNS,
boolean declareNS)
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.
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||