public static class AuthenticateUserResult.FailedAuthenticationModel extends Object implements XMLMarshallable
| Constructor and Description |
|---|
FailedAuthenticationModel()
Builds an empty failed authentication model
|
FailedAuthenticationModel(Date recordDate,
String sourceAddress)
Builds a failed authentication model with a record date and a source address
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
Date |
getRecordDate()
Gets the date at which the failed authentication was recorded
|
String |
getSourceAddress()
Gets the address the failed authentication originated from
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setRecordDate(Date date)
Sets the date at which the failed authentication was recorded
|
void |
setSourceAddress(String sourceAddress)
Sets the address the failed authentication originated from
|
public FailedAuthenticationModel()
public FailedAuthenticationModel(Date recordDate, String sourceAddress)
recordDate - The date at which the failed authentication was recordedsourceAddress - The address the failed authentication originated frompublic Date getRecordDate()
public void setRecordDate(Date date)
date - The date at which the failed authentication was recordedpublic String getSourceAddress()
public void setSourceAddress(String sourceAddress)
sourceAddress - The address the failed authentication originated frompublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current element