Package com.highdeal.hci
Class AuthenticateUserResult.FailedAuthenticationModel
java.lang.Object
com.highdeal.hci.AuthenticateUserResult.FailedAuthenticationModel
- All Implemented Interfaces:
XMLMarshallable
- Enclosing class:
- AuthenticateUserResult
public static class AuthenticateUserResult.FailedAuthenticationModel
extends Object
implements XMLMarshallable
Represents a failed authentication attempt, including a record date and a source address.
-
Constructor Summary
ConstructorsConstructorDescriptionBuilds an empty failed authentication modelFailedAuthenticationModel(Date recordDate, String sourceAddress) Builds a failed authentication model with a record date and a source address -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the date at which the failed authentication was recordedGets the address the failed authentication originated fromvoidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetRecordDate(Date date) Sets the date at which the failed authentication was recordedvoidsetSourceAddress(String sourceAddress) Sets the address the failed authentication originated from
-
Constructor Details
-
FailedAuthenticationModel
public FailedAuthenticationModel()Builds an empty failed authentication model -
FailedAuthenticationModel
Builds a failed authentication model with a record date and a source address- Parameters:
recordDate- The date at which the failed authentication was recordedsourceAddress- The address the failed authentication originated from
-
-
Method Details
-
getRecordDate
Gets the date at which the failed authentication was recorded- Returns:
- The date at which the failed authentication was recorded
-
setRecordDate
Sets the date at which the failed authentication was recorded- Parameters:
date- The date at which the failed authentication was recorded
-
getSourceAddress
Gets the address the failed authentication originated from- Returns:
- The address the failed authentication originated from
-
setSourceAddress
Sets the address the failed authentication originated from- Parameters:
sourceAddress- The address the failed authentication originated from
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-