public interface AuditActivity
Modifier and Type | Method and Description |
---|---|
DataSource |
getDataSource()
Deprecated.
|
boolean |
getEnabled()
Get the enabled state of the auditing service.
|
void |
logAdminAttributeActivity(String username,
String ipaddress,
String targetUser,
String activity,
String name,
String beforeValue,
String afterValue,
String description)
Log auditable activity by an administrator on user attributes on behalf of a user
|
void |
logAdminAuthorizationActivity(String username,
String ipaddress,
String targetUser,
String activity,
String name,
String description)
Log auditable activity by an administrator on authorization configuration on behalf of a user
|
void |
logAdminCredentialActivity(String username,
String ipaddress,
String targetUser,
String activity,
String description)
Log auditable activity by an administrator on credentials on behalf of a user
|
void |
logAdminRegistryActivity(String adminUser,
String ipaddress,
String activity,
String description)
Log auditable activity by an administrator on registry maintenance
|
void |
logAdminUserActivity(String adminUser,
String ipaddress,
String targetUser,
String activity,
String description)
Log auditable activity by an administrator on behalf of another user
|
void |
logUserActivity(String username,
String ipaddress,
String activity,
String description)
Log user activity that requires audit trails
|
void |
logUserAttributeActivity(String username,
String ipaddress,
String activity,
String name,
String beforeValue,
String afterValue,
String description)
Log auditable activity by an administrator on user attributes
|
void |
setEnabled(boolean enabled)
Enable or disable the auditing service at runtime.
|
static final String AUTHENTICATION_SUCCESS
static final String AUTHENTICATION_FAILURE
static final String PASSWORD_CHANGE_SUCCESS
static final String PASSWORD_CHANGE_FAILURE
static final String USER_CREATE
static final String USER_UPDATE
static final String USER_DELETE
static final String USER_DISABLE
static final String USER_EXTEND
static final String USER_EXTEND_UNLIMITED
static final String PASSWORD_EXPIRE
static final String PASSWORD_RESET
static final String PASSWORD_ACTIVATE
static final String PASSWORD_ENABLED
static final String PASSWORD_DISABLED
static final String PASSWORD_UPDATE_REQUIRED
static final String PASSWORD_EXTEND
static final String PASSWORD_UNLIMITED
static final String USER_ADD_ROLE
static final String USER_DELETE_ROLE
static final String USER_ADD_GROUP
static final String USER_DELETE_GROUP
static final String USER_ADD_PROFILE
static final String USER_DELETE_PROFILE
static final String USER_ADD_ATTRIBUTE
static final String USER_DELETE_ATTRIBUTE
static final String USER_UPDATE_ATTRIBUTE
static final String REGISTRY_DEPLOY
static final String REGISTRY_UNDEPLOY
static final String REGISTRY_STOP
static final String REGISTRY_START
static final String REGISTRY_DELETE
static final String CAT_USER_AUTHENTICATION
static final String CAT_USER_ATTRIBUTE
static final String CAT_ADMIN_USER_MAINTENANCE
static final String CAT_ADMIN_CREDENTIAL_MAINTENANCE
static final String CAT_ADMIN_ATTRIBUTE_MAINTENANCE
static final String CAT_ADMIN_AUTHORIZATION_MAINTENANCE
static final String CAT_ADMIN_REGISTRY_MAINTENANCE
void setEnabled(boolean enabled)
enabled
- the new state, true for enabled, false for disabledboolean getEnabled()
void logUserActivity(String username, String ipaddress, String activity, String description)
username
- the administrative user performing auditable activitiesipaddress
- the ip address of the http requestactivity
- the type of activity, see constants defined in this interfacedescription
- a general description or comment for this activityvoid logAdminUserActivity(String adminUser, String ipaddress, String targetUser, String activity, String description)
adminUser
- the administrative user performing auditable activitiesipaddress
- the ip address of the http requesttargetUser
- the user having activities logged by the adminUseractivity
- the type of activity, see constants defined in this interfacedescription
- a general description or comment for this activityvoid logAdminCredentialActivity(String username, String ipaddress, String targetUser, String activity, String description)
username
- the administrative user performing auditable activitiesipaddress
- the ip address of the http requesttargetUser
- the user having activities logged by the adminUseractivity
- the type of activity, see constants defined in this interfacedescription
- a general description or comment for this activityvoid logAdminAuthorizationActivity(String username, String ipaddress, String targetUser, String activity, String name, String description)
username
- the administrative user performing auditable activitiesipaddress
- the ip address of the http requesttargetUser
- the user having activities logged by the adminUseractivity
- the type of activity, see constants defined in this interfacename
- the name of the resource being modifieddescription
- a general description or comment for this activityvoid logAdminAttributeActivity(String username, String ipaddress, String targetUser, String activity, String name, String beforeValue, String afterValue, String description)
username
- the administrative user performing auditable activitiesipaddress
- the ip address of the http requesttargetUser
- the user having activities logged by the adminUseractivity
- the type of activity, see constants defined in this interfacename
- the name of the resource being modifiedbeforeValue
- the value of the attribute before changes were madeafterValue
- the value of the attribute after changes were madedescription
- a general description or comment for this activityvoid logUserAttributeActivity(String username, String ipaddress, String activity, String name, String beforeValue, String afterValue, String description)
username
- the administrative user performing auditable activitiesipaddress
- the ip address of the http requestactivity
- the type of activity, see constants defined in this interfacename
- the name of the resource being modifiedbeforeValue
- the value of the attribute before changes were madeafterValue
- the value of the attribute after changes were madedescription
- a general description or comment for this activityvoid logAdminRegistryActivity(String adminUser, String ipaddress, String activity, String description)
adminUser
- the administrative user performing auditable activitiesipaddress
- the ip address of the http requestactivity
- the type of activity, see constants defined in this interfacedescription
- a general description or comment for this activityDataSource getDataSource()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.