public static class AuthenticateUserResult.FailedAuthenticationModel extends java.lang.Object implements XMLMarshallable
| Constructor and Description |
|---|
FailedAuthenticationModel()
Builds an empty failed authentication model
|
FailedAuthenticationModel(java.util.Date recordDate,
java.lang.String sourceAddress)
Builds a failed authentication model with a record date and a source address
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.util.Date |
getRecordDate()
Gets the date at which the failed authentication was recorded
|
java.lang.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(java.util.Date date)
Sets the date at which the failed authentication was recorded
|
void |
setSourceAddress(java.lang.String sourceAddress)
Sets the address the failed authentication originated from
|
public FailedAuthenticationModel()
public FailedAuthenticationModel(java.util.Date recordDate,
java.lang.String sourceAddress)
recordDate - The date at which the failed authentication was recordedsourceAddress - The address the failed authentication originated frompublic java.util.Date getRecordDate()
public void setRecordDate(java.util.Date date)
date - The date at which the failed authentication was recordedpublic java.lang.String getSourceAddress()
public void setSourceAddress(java.lang.String sourceAddress)
sourceAddress - The address the failed authentication originated frompublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(java.lang.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