Class EPPAuthTokenCredential
java.lang.Object
com.verisign.epp.codec.authtoken.v01.EPPAuthTokenCredential
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The
EPPAuthTokenCredential is the EPPCodecComponent that knows how
to encode and decode credential element from/to XML and object instance.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance ofEPPAuthTokenCredentialEPPAuthTokenCredential(String aClId, String aPassword, EPPAuthTokenMfa aMfa) Create a new instance ofEPPAuthTokenCredentialwith all the required attributes -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPAuthTokenCredential.voidPopulate the data of this instance with the data stored in the given Element of the DOM treeSets this instance's data in the given XML documentbooleanimplements a deepEPPAuthTokenCredentialcompare.getClId()Gets the registrar user identifier for the authenticating user.getMfa()Gets the MFA associated with this request.Returns the XML namespace associated with theEPPCodecComponent.Gets the registrar user password for the authenticating user.voidSets the registrar user identifier for the authenticating user.voidsetMfa(EPPAuthTokenMfa aMfa) Sets the Mfa.voidsetPassword(String aPassword) Sets the registrar user password for the authenticating user.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPAuthTokenCredential.- See Also:
-
ELM_NAME
XML Element Name ofEPPAuthTokenCredentialroot element.- See Also:
-
-
Constructor Details
-
EPPAuthTokenCredential
public EPPAuthTokenCredential()Create a new instance ofEPPAuthTokenCredential -
EPPAuthTokenCredential
Create a new instance ofEPPAuthTokenCredentialwith all the required attributes
-
-
Method Details
-
encode
Sets this instance's data in the given XML document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM document used as a factory of DOM objects.- Returns:
- instance root DOM element along with attribute child nodes.
- Throws:
EPPEncodeException- Error encoding the DOM element tree.
-
decode
Populate the data of this instance with the data stored in the given Element of the DOM tree- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- The root element of the fragment of XML- Throws:
EPPDecodeException- Thrown if any errors occur during decoding.
-
equals
implements a deepEPPAuthTokenCredentialcompare. -
clone
CloneEPPAuthTokenCredential.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPAuthTokenCredential - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getMfa
Gets the MFA associated with this request.- Returns:
EPPAuthTokenMfainstance
-
setMfa
Sets the Mfa.- Parameters:
aMfa-EPPAuthTokenMfainstance
-
getClId
Gets the registrar user identifier for the authenticating user.- Returns:
- user identifier
-
setClId
Sets the registrar user identifier for the authenticating user.- Parameters:
aClId- registrar user identifier for the authenticating user.
-
getPassword
Gets the registrar user password for the authenticating user.- Returns:
- Gets the registrar user password for the authenticating user
-
setPassword
Sets the registrar user password for the authenticating user.- Parameters:
aPassword- the registrar user password for the authenticating user
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-