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 Details

    • FailedAuthenticationModel

      public FailedAuthenticationModel()
      Builds an empty failed authentication model
    • FailedAuthenticationModel

      public FailedAuthenticationModel(Date recordDate, String sourceAddress)
      Builds a failed authentication model with a record date and a source address
      Parameters:
      recordDate - The date at which the failed authentication was recorded
      sourceAddress - The address the failed authentication originated from
  • Method Details

    • getRecordDate

      public Date getRecordDate()
      Gets the date at which the failed authentication was recorded
      Returns:
      The date at which the failed authentication was recorded
    • setRecordDate

      public void setRecordDate(Date date)
      Sets the date at which the failed authentication was recorded
      Parameters:
      date - The date at which the failed authentication was recorded
    • getSourceAddress

      public String getSourceAddress()
      Gets the address the failed authentication originated from
      Returns:
      The address the failed authentication originated from
    • setSourceAddress

      public void setSourceAddress(String sourceAddress)
      Sets the address the failed authentication originated from
      Parameters:
      sourceAddress - The address the failed authentication originated from
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Specified by:
      addCharacterData in interface XMLMarshallable
      Parameters:
      cData - The character data to be added
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Specified by:
      addChild in interface XMLMarshallable
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • marshal

      public void marshal(XMLOutputter output)
      Description copied from interface: XMLMarshallable
      Gives an XML representation of this object, including its children.
      Specified by:
      marshal in interface XMLMarshallable
      Parameters:
      output - The XML output to marshal the object into
    • setAttributes

      public void setAttributes(XMLAttributes atts)
      Description copied from interface: XMLMarshallable
      Sets the attributes of the XML representation of the element being processed.
      Specified by:
      setAttributes in interface XMLMarshallable
      Parameters:
      atts - The XML attributes of the current element