|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.clearspace.ClearspaceSecurityAuditProvider
public class ClearspaceSecurityAuditProvider
The ClearspaceSecurityAuditProvider uses the AuditService web service inside of Clearspace to send audit logs into Clearspace's own audit handler. It also refers the admin to a URL inside the Clearspace admin console where they can view the logs.
Field Summary | |
---|---|
protected static String |
AUDIT_URL_PREFIX
|
Constructor Summary | |
---|---|
ClearspaceSecurityAuditProvider()
Generate a ClearspaceSecurityAuditProvider instance. |
Method Summary | |
---|---|
boolean |
blockGroupEvents()
Clearspace handles logging it's own group events. |
boolean |
blockUserEvents()
Clearspace handles logging it's own user events. |
String |
getAuditURL()
The ClearspaceSecurityAuditProvider does not retrieve audit entries from Clearspace. |
SecurityAuditEvent |
getEvent(Integer msgID)
The ClearspaceSecurityAuditProvider does not retrieve audit entries from Clearspace. |
Integer |
getEventCount()
The ClearspaceSecurityAuditProvider does not retrieve audit entries from Clearspace. |
List<SecurityAuditEvent> |
getEvents(String username,
Integer skipEvents,
Integer numEvents,
Date startTime,
Date endTime)
The ClearspaceSecurityAuditProvider does not retrieve audit entries from Clearspace. |
boolean |
isWriteOnly()
The ClearspaceSecurityAuditProvider does not retrieve audit entries from Clearspace. |
void |
logEvent(String username,
String summary,
String details)
The ClearspaceSecurityAuditProvider will log events into Clearspace via the AuditService web service, provided by Clearspace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String AUDIT_URL_PREFIX
Constructor Detail |
---|
public ClearspaceSecurityAuditProvider()
Method Detail |
---|
public void logEvent(String username, String summary, String details)
logEvent
in interface SecurityAuditProvider
username
- Username of user who performed the security event.summary
- Short description of the event, similar to a subject.details
- Detailed description of the event, can be null if not desired.SecurityAuditProvider.logEvent(String, String, String)
public List<SecurityAuditEvent> getEvents(String username, Integer skipEvents, Integer numEvents, Date startTime, Date endTime)
getEvents
in interface SecurityAuditProvider
username
- Username of user to look up. Can be null for no username filtering.skipEvents
- Number of events to skip past (typically for paging). Can be null for first page.numEvents
- Number of events to retrieve. Can be null for "all" events.startTime
- Oldest date of range of events to retrieve. Can be null for forever.endTime
- Most recent date of range of events to retrieve. Can be null for "now".
SecurityAuditProvider.getEvents(String, Integer, Integer, java.util.Date, java.util.Date)
public SecurityAuditEvent getEvent(Integer msgID) throws EventNotFoundException
getEvent
in interface SecurityAuditProvider
msgID
- ID number of event to retrieve.
EventNotFoundException
- if event was not found.SecurityAuditProvider.getEvent(Integer)
public Integer getEventCount()
getEventCount
in interface SecurityAuditProvider
SecurityAuditProvider.getEventCount()
public boolean isWriteOnly()
isWriteOnly
in interface SecurityAuditProvider
SecurityAuditProvider.isWriteOnly()
public String getAuditURL()
getAuditURL
in interface SecurityAuditProvider
SecurityAuditProvider.getAuditURL()
public boolean blockUserEvents()
blockUserEvents
in interface SecurityAuditProvider
SecurityAuditProvider.blockUserEvents()
public boolean blockGroupEvents()
blockGroupEvents
in interface SecurityAuditProvider
SecurityAuditProvider.blockGroupEvents()
|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |