org.apache.jetspeed.audit
Interface AuditActivity


public interface AuditActivity

Gathers information about security auditing activity

Version:
$Id: $
Author:
David Sean Taylor

Field Summary
static String AUTHENTICATION_FAILURE
           
static String AUTHENTICATION_SUCCESS
           
static String CAT_ADMIN_ATTRIBUTE_MAINTENANCE
           
static String CAT_ADMIN_AUTHORIZATION_MAINTENANCE
           
static String CAT_ADMIN_CREDENTIAL_MAINTENANCE
           
static String CAT_ADMIN_USER_MAINTENANCE
           
static String CAT_USER_ATTRIBUTE
           
static String CAT_USER_AUTHENTICATION
           
static String PASSWORD_ACTIVATE
           
static String PASSWORD_CHANGE_FAILURE
           
static String PASSWORD_CHANGE_SUCCESS
           
static String PASSWORD_DISABLED
           
static String PASSWORD_ENABLED
           
static String PASSWORD_EXPIRE
           
static String PASSWORD_EXTEND
           
static String PASSWORD_RESET
           
static String PASSWORD_UNLIMITED
           
static String PASSWORD_UPDATE_REQUIRED
           
static String USER_ADD_ATTRIBUTE
           
static String USER_ADD_GROUP
           
static String USER_ADD_PROFILE
           
static String USER_ADD_ROLE
           
static String USER_CREATE
           
static String USER_DELETE
           
static String USER_DELETE_ATTRIBUTE
           
static String USER_DELETE_GROUP
           
static String USER_DELETE_PROFILE
           
static String USER_DELETE_ROLE
           
static String USER_DISABLE
           
static String USER_EXTEND
           
static String USER_EXTEND_UNLIMITED
           
static String USER_UPDATE
           
static String USER_UPDATE_ATTRIBUTE
           
 
Method Summary
 DataSource getDataSource()
           
 boolean getEnabled()
          Get the enabled state of this 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 attirbutes on behalf of a user
 void logAdminAuthorizationActivity(String username, String ipaddress, String targetUser, String activity, String name, String description)
           
 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 logAdminUserActivity(String username, 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 security-audit-related activity
 void logUserAttributeActivity(String username, String ipaddress, String activity, String name, String beforeValue, String afterValue, String description)
          Log auditable activity by an administrator on attirbutes on behalf of a user
 void setEnabled(boolean enabled)
          Enable or disable the service at runtime
 

Field Detail

AUTHENTICATION_SUCCESS

static final String AUTHENTICATION_SUCCESS
See Also:
Constant Field Values

AUTHENTICATION_FAILURE

static final String AUTHENTICATION_FAILURE
See Also:
Constant Field Values

PASSWORD_CHANGE_SUCCESS

static final String PASSWORD_CHANGE_SUCCESS
See Also:
Constant Field Values

PASSWORD_CHANGE_FAILURE

static final String PASSWORD_CHANGE_FAILURE
See Also:
Constant Field Values

USER_CREATE

static final String USER_CREATE
See Also:
Constant Field Values

USER_UPDATE

static final String USER_UPDATE
See Also:
Constant Field Values

USER_DELETE

static final String USER_DELETE
See Also:
Constant Field Values

USER_DISABLE

static final String USER_DISABLE
See Also:
Constant Field Values

USER_EXTEND

static final String USER_EXTEND
See Also:
Constant Field Values

USER_EXTEND_UNLIMITED

static final String USER_EXTEND_UNLIMITED
See Also:
Constant Field Values

PASSWORD_EXPIRE

static final String PASSWORD_EXPIRE
See Also:
Constant Field Values

PASSWORD_RESET

static final String PASSWORD_RESET
See Also:
Constant Field Values

PASSWORD_ACTIVATE

static final String PASSWORD_ACTIVATE
See Also:
Constant Field Values

PASSWORD_ENABLED

static final String PASSWORD_ENABLED
See Also:
Constant Field Values

PASSWORD_DISABLED

static final String PASSWORD_DISABLED
See Also:
Constant Field Values

PASSWORD_UPDATE_REQUIRED

static final String PASSWORD_UPDATE_REQUIRED
See Also:
Constant Field Values

PASSWORD_EXTEND

static final String PASSWORD_EXTEND
See Also:
Constant Field Values

PASSWORD_UNLIMITED

static final String PASSWORD_UNLIMITED
See Also:
Constant Field Values

USER_ADD_ROLE

static final String USER_ADD_ROLE
See Also:
Constant Field Values

USER_DELETE_ROLE

static final String USER_DELETE_ROLE
See Also:
Constant Field Values

USER_ADD_GROUP

static final String USER_ADD_GROUP
See Also:
Constant Field Values

USER_DELETE_GROUP

static final String USER_DELETE_GROUP
See Also:
Constant Field Values

USER_ADD_PROFILE

static final String USER_ADD_PROFILE
See Also:
Constant Field Values

USER_DELETE_PROFILE

static final String USER_DELETE_PROFILE
See Also:
Constant Field Values

USER_ADD_ATTRIBUTE

static final String USER_ADD_ATTRIBUTE
See Also:
Constant Field Values

USER_DELETE_ATTRIBUTE

static final String USER_DELETE_ATTRIBUTE
See Also:
Constant Field Values

USER_UPDATE_ATTRIBUTE

static final String USER_UPDATE_ATTRIBUTE
See Also:
Constant Field Values

CAT_USER_AUTHENTICATION

static final String CAT_USER_AUTHENTICATION
See Also:
Constant Field Values

CAT_USER_ATTRIBUTE

static final String CAT_USER_ATTRIBUTE
See Also:
Constant Field Values

CAT_ADMIN_USER_MAINTENANCE

static final String CAT_ADMIN_USER_MAINTENANCE
See Also:
Constant Field Values

CAT_ADMIN_CREDENTIAL_MAINTENANCE

static final String CAT_ADMIN_CREDENTIAL_MAINTENANCE
See Also:
Constant Field Values

CAT_ADMIN_ATTRIBUTE_MAINTENANCE

static final String CAT_ADMIN_ATTRIBUTE_MAINTENANCE
See Also:
Constant Field Values

CAT_ADMIN_AUTHORIZATION_MAINTENANCE

static final String CAT_ADMIN_AUTHORIZATION_MAINTENANCE
See Also:
Constant Field Values
Method Detail

setEnabled

void setEnabled(boolean enabled)
Enable or disable the service at runtime

Parameters:
enabled -

getEnabled

boolean getEnabled()
Get the enabled state of this service

Returns:

logUserActivity

void logUserActivity(String username,
                     String ipaddress,
                     String activity,
                     String description)
Log user security-audit-related activity

Parameters:
username -
ipaddress -
activity -
description -

logAdminUserActivity

void logAdminUserActivity(String username,
                          String ipaddress,
                          String targetUser,
                          String activity,
                          String description)
Log auditable activity by an administrator on behalf of another user

Parameters:
username -
ipaddress -
targetUser -
activity -
description -

logAdminCredentialActivity

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

Parameters:
adminName -
ipaddress -
targetUser -
activity -
description -

logAdminAuthorizationActivity

void logAdminAuthorizationActivity(String username,
                                   String ipaddress,
                                   String targetUser,
                                   String activity,
                                   String name,
                                   String description)

logAdminAttributeActivity

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 attirbutes on behalf of a user

Parameters:
username -
ipaddress -
targetUser -
activity -
name -
beforeValue -
afterValue -
description -

logUserAttributeActivity

void logUserAttributeActivity(String username,
                              String ipaddress,
                              String activity,
                              String name,
                              String beforeValue,
                              String afterValue,
                              String description)
Log auditable activity by an administrator on attirbutes on behalf of a user

Parameters:
username -
ipaddress -
activity -
name -
beforeValue -
afterValue -
description -

getDataSource

DataSource getDataSource()
Returns:
DataSource in use by the logger useful for writing decent tests


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.