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 implementsECPRequest
element. It provides all the methods required byECPRequest
-
-
Constructor Summary
Constructors Constructor Description ECPRequestImpl()
Constructs theECPRequest
Object.ECPRequestImpl(String xmlString)
Constructs theECPRequest
Object.ECPRequestImpl(Element element)
Constructs theECPRequest
Object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActor()
Returns value ofactor
attribute.IDPList
getIDPList()
Returns theIDPList
Object.Issuer
getIssuer()
Returns the value of the issuer attribute.String
getProviderName()
Returns theProviderName
attribute value.Boolean
isMustUnderstand()
Returns value ofmustUnderstand
attribute.boolean
isMutable()
Returns true if object is mutable.Boolean
isPassive()
Returns the value of theisPassive
attribute.void
makeImmutable()
Makes this object immutable.void
setActor(String actor)
Sets the value ofactor
attribute.void
setIDPList(IDPList idpList)
Sets theIDPList
Object.void
setIsPassive(Boolean isPassive)
Sets the value of theIsPassive
attribute.void
setIssuer(Issuer issuer)
Sets the value of the issuer attribute.void
setMustUnderstand(Boolean mustUnderstand)
Sets the value of themustUnderstand
attribute.void
setProviderName(String providerName)
Sets theProviderName
attribute value.String
toXMLString()
Returns a String representation of this Object.String
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a String representationprotected void
validateData()
-
-
-
Constructor Detail
-
ECPRequestImpl
public ECPRequestImpl()
Constructs theECPRequest
Object.
-
ECPRequestImpl
public ECPRequestImpl(Element element) throws SAML2Exception
Constructs theECPRequest
Object.- Parameters:
element
- the Document Element of ECPRequest
object.- Throws:
SAML2Exception
- ifECPRequest
cannot be created.
-
ECPRequestImpl
public ECPRequestImpl(String xmlString) throws SAML2Exception
Constructs theECPRequest
Object.- Parameters:
xmlString
- the XML String representation of this object.- Throws:
SAML2Exception
- ifECPRequest
cannot be created.
-
-
Method Detail
-
getIssuer
public Issuer getIssuer()
Returns the value of the issuer attribute.- Specified by:
getIssuer
in 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:
setIssuer
in interfaceECPRequest
- Parameters:
issuer
- the value of the issuer attribute- Throws:
SAML2Exception
- if the object is immutable- See Also:
getIssuer()
-
getIDPList
public IDPList getIDPList()
Returns theIDPList
Object.- Specified by:
getIDPList
in interfaceECPRequest
- Returns:
- the
IDPList
object. - See Also:
setIDPList(IDPList)
-
setIDPList
public void setIDPList(IDPList idpList) throws SAML2Exception
Sets theIDPList
Object.- Specified by:
setIDPList
in interfaceECPRequest
- Parameters:
idpList
- the newIDPList
object.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getIDPList()
-
isMustUnderstand
public Boolean isMustUnderstand()
Returns value ofmustUnderstand
attribute.- Specified by:
isMustUnderstand
in interfaceECPRequest
- Returns:
- value of
mustUnderstand
attribute.
-
setMustUnderstand
public void setMustUnderstand(Boolean mustUnderstand) throws SAML2Exception
Sets the value of themustUnderstand
attribute.- Specified by:
setMustUnderstand
in interfaceECPRequest
- Parameters:
mustUnderstand
- the value ofmustUnderstand
attribute.- Throws:
SAML2Exception
- if the object is immutable.
-
getActor
public String getActor()
Returns value ofactor
attribute.- Specified by:
getActor
in interfaceECPRequest
- Returns:
- value of
actor
attribute
-
setActor
public void setActor(String actor) throws SAML2Exception
Sets the value ofactor
attribute.- Specified by:
setActor
in interfaceECPRequest
- Parameters:
actor
- the value ofactor
attribute- Throws:
SAML2Exception
- if the object is immutable.
-
getProviderName
public String getProviderName()
Returns theProviderName
attribute value.- Specified by:
getProviderName
in interfaceECPRequest
- Returns:
- value of the
ProviderName
attribute value. - See Also:
setProviderName(String)
-
setProviderName
public void setProviderName(String providerName) throws SAML2Exception
Sets theProviderName
attribute value.- Specified by:
setProviderName
in interfaceECPRequest
- Parameters:
providerName
- value of theProviderName
attribute.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getProviderName()
-
isPassive
public Boolean isPassive()
Returns the value of theisPassive
attribute.- Specified by:
isPassive
in interfaceECPRequest
- Returns:
- value of
isPassive
attribute.
-
setIsPassive
public void setIsPassive(Boolean isPassive) throws SAML2Exception
Sets the value of theIsPassive
attribute.- Specified by:
setIsPassive
in interfaceECPRequest
- Parameters:
isPassive
- value ofIsPassive
attribute.- Throws:
SAML2Exception
- if the object is immutable.
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLString
in 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:
toXMLString
in 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:
makeImmutable
in interfaceECPRequest
-
isMutable
public boolean isMutable()
Returns true if object is mutable.- Specified by:
isMutable
in interfaceECPRequest
- Returns:
- true if object is mutable.
-
validateData
protected void validateData() throws SAML2Exception
- Throws:
SAML2Exception
-
-