Package com.sun.identity.saml2.ecp.impl
Class ECPRequestImpl
- java.lang.Object
-
- com.sun.identity.saml2.ecp.impl.ECPRequestImpl
-
- All Implemented Interfaces:
ECPRequest
public class ECPRequestImpl extends Object implements ECPRequest
This class implementsECPRequestelement. It provides all the methods required byECPRequest
-
-
Constructor Summary
Constructors Constructor Description ECPRequestImpl()Constructs theECPRequestObject.ECPRequestImpl(String xmlString)Constructs theECPRequestObject.ECPRequestImpl(Element element)Constructs theECPRequestObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActor()Returns value ofactorattribute.IDPListgetIDPList()Returns theIDPListObject.IssuergetIssuer()Returns the value of the issuer attribute.StringgetProviderName()Returns theProviderNameattribute value.BooleanisMustUnderstand()Returns value ofmustUnderstandattribute.booleanisMutable()Returns true if object is mutable.BooleanisPassive()Returns the value of theisPassiveattribute.voidmakeImmutable()Makes this object immutable.voidsetActor(String actor)Sets the value ofactorattribute.voidsetIDPList(IDPList idpList)Sets theIDPListObject.voidsetIsPassive(Boolean isPassive)Sets the value of theIsPassiveattribute.voidsetIssuer(Issuer issuer)Sets the value of the issuer attribute.voidsetMustUnderstand(Boolean mustUnderstand)Sets the value of themustUnderstandattribute.voidsetProviderName(String providerName)Sets theProviderNameattribute value.StringtoXMLString()Returns a String representation of this Object.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationprotected voidvalidateData()
-
-
-
Constructor Detail
-
ECPRequestImpl
public ECPRequestImpl()
Constructs theECPRequestObject.
-
ECPRequestImpl
public ECPRequestImpl(Element element) throws SAML2Exception
Constructs theECPRequestObject.- Parameters:
element- the Document Element of ECPRequestobject.- Throws:
SAML2Exception- ifECPRequestcannot be created.
-
ECPRequestImpl
public ECPRequestImpl(String xmlString) throws SAML2Exception
Constructs theECPRequestObject.- Parameters:
xmlString- the XML String representation of this object.- Throws:
SAML2Exception- ifECPRequestcannot be created.
-
-
Method Detail
-
getIssuer
public Issuer getIssuer()
Returns the value of the issuer attribute.- Specified by:
getIssuerin interfaceECPRequest- Returns:
- the value of the issuer attribute.
- See Also:
setIssuer(Issuer)
-
setIssuer
public void setIssuer(Issuer issuer) throws SAML2Exception
Sets the value of the issuer attribute.- Specified by:
setIssuerin interfaceECPRequest- Parameters:
issuer- the value of the issuer attribute- Throws:
SAML2Exception- if the object is immutable- See Also:
getIssuer()
-
getIDPList
public IDPList getIDPList()
Returns theIDPListObject.- Specified by:
getIDPListin interfaceECPRequest- Returns:
- the
IDPListobject. - See Also:
setIDPList(IDPList)
-
setIDPList
public void setIDPList(IDPList idpList) throws SAML2Exception
Sets theIDPListObject.- Specified by:
setIDPListin interfaceECPRequest- Parameters:
idpList- the newIDPListobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getIDPList()
-
isMustUnderstand
public Boolean isMustUnderstand()
Returns value ofmustUnderstandattribute.- Specified by:
isMustUnderstandin interfaceECPRequest- Returns:
- value of
mustUnderstandattribute.
-
setMustUnderstand
public void setMustUnderstand(Boolean mustUnderstand) throws SAML2Exception
Sets the value of themustUnderstandattribute.- Specified by:
setMustUnderstandin interfaceECPRequest- Parameters:
mustUnderstand- the value ofmustUnderstandattribute.- Throws:
SAML2Exception- if the object is immutable.
-
getActor
public String getActor()
Returns value ofactorattribute.- Specified by:
getActorin interfaceECPRequest- Returns:
- value of
actorattribute
-
setActor
public void setActor(String actor) throws SAML2Exception
Sets the value ofactorattribute.- Specified by:
setActorin interfaceECPRequest- Parameters:
actor- the value ofactorattribute- Throws:
SAML2Exception- if the object is immutable.
-
getProviderName
public String getProviderName()
Returns theProviderNameattribute value.- Specified by:
getProviderNamein interfaceECPRequest- Returns:
- value of the
ProviderNameattribute value. - See Also:
setProviderName(String)
-
setProviderName
public void setProviderName(String providerName) throws SAML2Exception
Sets theProviderNameattribute value.- Specified by:
setProviderNamein interfaceECPRequest- Parameters:
providerName- value of theProviderNameattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getProviderName()
-
isPassive
public Boolean isPassive()
Returns the value of theisPassiveattribute.- Specified by:
isPassivein interfaceECPRequest- Returns:
- value of
isPassiveattribute.
-
setIsPassive
public void setIsPassive(Boolean isPassive) throws SAML2Exception
Sets the value of theIsPassiveattribute.- Specified by:
setIsPassivein interfaceECPRequest- Parameters:
isPassive- value ofIsPassiveattribute.- Throws:
SAML2Exception- if the object is immutable.
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLStringin interfaceECPRequest- Returns:
- a String representation of this Object.
- Throws:
SAML2Exception- if it could not create String object
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation- Specified by:
toXMLStringin interfaceECPRequest- Parameters:
includeNSPrefix- 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 representation of this Object.
- Throws:
SAML2Exception- ,if it could not create String object.
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutablein interfaceECPRequest
-
isMutable
public boolean isMutable()
Returns true if object is mutable.- Specified by:
isMutablein interfaceECPRequest- Returns:
- true if object is mutable.
-
validateData
protected void validateData() throws SAML2Exception- Throws:
SAML2Exception
-
-