public final class AuditLogger extends Object
Constructor and Description |
---|
AuditLogger() |
Modifier and Type | Method and Description |
---|---|
static AuditLog |
getAuditLog() |
static AuditLogFacade |
getAuditLogFacade()
Returns the
AuditLogFacade instance. |
static void |
logConfigChange(AccessRequester initiator,
String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message,
Throwable error) |
static void |
logConfigChange(String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message,
Throwable error) |
static void |
logConfigChangeBeginning(AccessRequester initiator,
String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message) |
static void |
logConfigChangeBeginning(String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message) |
static void |
logDataRead(AccessRequester initiator,
String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message,
Throwable error) |
static void |
logDataRead(String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message,
Throwable error) |
static void |
logDataReadAttempt(AccessRequester initiator,
String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message) |
static void |
logDataReadAttempt(String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message) |
static void |
logDataWrite(AccessRequester initiator,
String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message,
Throwable error) |
static void |
logDataWrite(String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message,
Throwable error) |
static void |
logDataWriteAttempt(AccessRequester initiator,
String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message) |
static void |
logDataWriteAttempt(String objectId,
String objectName,
Iterable<AccessedAttribute> attributesAffected,
String message) |
static void |
logSecurityEvent(AccessRequester initiator,
String message,
Throwable throwable) |
static void |
logSecurityEvent(String message,
Throwable throwable) |
static void |
logSecurityEventBeginning(AccessRequester initiator,
String message) |
static void |
logSecurityEventBeginning(String message) |
static void |
setAuditLogFacade(AuditLogFacade auditLogFacade)
Replaces the default
AuditLogFacade instance. |
public static void setAuditLogFacade(AuditLogFacade auditLogFacade)
AuditLogFacade
instance. This method is for internal use only.public static AuditLog getAuditLog()
public static void logSecurityEventBeginning(AccessRequester initiator, String message)
public static void logSecurityEventBeginning(String message)
public static void logSecurityEvent(AccessRequester initiator, String message, @Nullable Throwable throwable)
public static void logConfigChangeBeginning(AccessRequester initiator, String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message)
public static void logConfigChangeBeginning(String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message)
public static void logConfigChange(AccessRequester initiator, String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message, @Nullable Throwable error)
public static void logConfigChange(String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message, @Nullable Throwable error)
public static void logDataReadAttempt(AccessRequester initiator, String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message)
public static void logDataReadAttempt(String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message)
public static void logDataRead(AccessRequester initiator, String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message, @Nullable Throwable error)
public static void logDataRead(String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message, @Nullable Throwable error)
public static void logDataWriteAttempt(AccessRequester initiator, String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message)
public static void logDataWriteAttempt(String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message)
public static void logDataWrite(AccessRequester initiator, String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message, @Nullable Throwable error)
public static void logDataWrite(String objectId, @Nullable String objectName, @Nullable Iterable<AccessedAttribute> attributesAffected, @Nullable String message, @Nullable Throwable error)
@Nullable @Generated(value="lombok") public static AuditLogFacade getAuditLogFacade()
AuditLogFacade
instance. For internal use only.Copyright © 2017 SAP SE. All rights reserved.