Class SecurityAuditEvent
java.lang.Object
org.jivesoftware.openfire.security.SecurityAuditEvent
Representation of a single security event retrieved from the logs. This should include any
information that you would need regarding the event.
- Author:
- Daniel Henninger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves detailed information about what occurred in the event.Retrieves the time stamp of when this event occurred.longgetMsgID()Retrieves the unique ID of this event.getNode()Retrieves the node that triggered the event, usually a hostname or IP address.Returns the summary, or short description of what transpired in the event.Retrieves the username of the user who performed this event.voidsetDetails(String details) Sets the detailed information about what occured in the event.voidsetEventStamp(Date eventStamp) Sets the time stamp of when this event occurred.voidsetMsgID(long msgID) Sets the unique ID of this event.voidSets the node that triggered the event, usually a hostname or IP address.voidsetSummary(String summary) Sets the summary, or short description of what transpired in the event.voidsetUsername(String username) Sets the username of the user who performed this event.
-
Constructor Details
-
SecurityAuditEvent
public SecurityAuditEvent()
-
-
Method Details
-
getMsgID
public long getMsgID()Retrieves the unique ID of this event.- Returns:
- the ID.
-
setMsgID
public void setMsgID(long msgID) Sets the unique ID of this event.- Parameters:
msgID- the ID.
-
getUsername
Retrieves the username of the user who performed this event.- Returns:
- the username.
-
setUsername
Sets the username of the user who performed this event.- Parameters:
username- Username of user.
-
getEventStamp
Retrieves the time stamp of when this event occurred.- Returns:
- The time stamp as a Date object.
-
setEventStamp
Sets the time stamp of when this event occurred.- Parameters:
eventStamp- The time stamp as a Date object.
-
getSummary
Returns the summary, or short description of what transpired in the event.- Returns:
- The summary.
-
setSummary
Sets the summary, or short description of what transpired in the event.- Parameters:
summary- The summary.
-
getNode
Retrieves the node that triggered the event, usually a hostname or IP address.- Returns:
- The node.
-
setNode
Sets the node that triggered the event, usually a hostname or IP address.- Parameters:
node- Hostname or IP address.
-
getDetails
Retrieves detailed information about what occurred in the event.- Returns:
- The possibly long details of the event. Can be null.
-
setDetails
Sets the detailed information about what occured in the event.- Parameters:
details- The possibly long details of the event. Can be null.
-