public class AuditLoggingUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_ACTIVATE |
static String |
ACTION_COPY |
static String |
ACTION_CREATE |
static String |
ACTION_DEACTIVATE |
static String |
ACTION_DELETE |
static String |
ACTION_LOGIN |
static String |
ACTION_LOGOUT |
static String |
ACTION_MODIFY |
static String |
ACTION_MOVE |
static String |
ACTION_SECURITY |
Constructor and Description |
---|
AuditLoggingUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
log(LoginResult loginResult,
javax.servlet.http.HttpServletRequest request)
Log user login.
|
static void |
log(String action,
long timeStamp,
String workspaceName,
javax.jcr.nodetype.NodeType nodeType,
String path,
String pathTo)
Log create, modify, delete and move in session.
|
static void |
log(String action,
String workspaceName,
javax.jcr.nodetype.NodeType nodeType,
String nodePath)
Log activate, deactivate incl.
|
static void |
log(String action,
String userName,
String workspaceName,
javax.jcr.nodetype.NodeType nodeType,
String nodePathTo)
Log publish, unpublish.
|
static void |
log(String action,
String workspaceName,
String nodePathFrom,
String nodePathTo)
Log copy, move.
|
static void |
log(String action,
String workspaceFrom,
String workspaceTo,
String nodePathFrom,
String nodePathTo)
Log copy to another workspace.
|
static void |
log(UserContext userContext)
Log user logout.
|
static void |
logSecurity(String ipAddress,
String securityEventType,
String securityEventdetails)
Log a security event.
|
public static final String ACTION_CREATE
public static final String ACTION_MODIFY
public static final String ACTION_DELETE
public static final String ACTION_COPY
public static final String ACTION_MOVE
public static final String ACTION_ACTIVATE
public static final String ACTION_DEACTIVATE
public static final String ACTION_LOGIN
public static final String ACTION_LOGOUT
public static final String ACTION_SECURITY
public static void log(String action, String workspaceName, javax.jcr.nodetype.NodeType nodeType, String nodePath)
public static void log(String action, String userName, String workspaceName, javax.jcr.nodetype.NodeType nodeType, String nodePathTo)
public static void log(String action, String workspaceName, String nodePathFrom, String nodePathTo)
public static void log(String action, long timeStamp, String workspaceName, javax.jcr.nodetype.NodeType nodeType, String path, String pathTo)
public static void log(String action, String workspaceFrom, String workspaceTo, String nodePathFrom, String nodePathTo)
public static void log(UserContext userContext)
public static void log(LoginResult loginResult, javax.servlet.http.HttpServletRequest request)
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.