public class AccessAuditLogger extends Object implements IAccessAuditLogger
IAccessAuditLogger
implementation.Constructor and Description |
---|
AccessAuditLogger() |
Modifier and Type | Method and Description |
---|---|
IAccessAuditLogger |
accessedUserId(String accessedUserId)
Sets the accessed user identifier (if any).
|
IAccessAuditLogger |
action(String action)
Sets the action performed when the access was generated (if any).
|
IAccessAuditLogger |
area(String area)
Sets the area from where the access was generated from (if any).
|
IAccessAuditLogger |
category(String category)
Sets the category from where the access was generated from (if any).
|
IAccessAuditLogger |
currentUserId(String currentUserId)
Sets the current user identifier (if any).
|
IAccessAuditLogger |
extraParameters(Map<String,String> extraParameters)
Sets any desired extra parameters to be logged.
|
void |
log()
Log an access audit entry with no message.
|
void |
log(String message)
Log an access audit entry with the given message.
|
IAccessAuditLogger |
url(String url)
Sets the URL that generated the access.
|
public IAccessAuditLogger url(String url)
IAccessAuditLogger
url
in interface IAccessAuditLogger
url
- the accessed URL that generated the access.public IAccessAuditLogger area(String area)
IAccessAuditLogger
area
in interface IAccessAuditLogger
area
- the area.public IAccessAuditLogger category(String category)
IAccessAuditLogger
category
in interface IAccessAuditLogger
category
- the category.public IAccessAuditLogger action(String action)
IAccessAuditLogger
action
in interface IAccessAuditLogger
action
- the action.public IAccessAuditLogger accessedUserId(String accessedUserId)
IAccessAuditLogger
accessedUserId
in interface IAccessAuditLogger
accessedUserId
- the accessed user identifier.public IAccessAuditLogger extraParameters(Map<String,String> extraParameters)
IAccessAuditLogger
extraParameters
in interface IAccessAuditLogger
extraParameters
- the extra parameters.public IAccessAuditLogger currentUserId(String currentUserId)
IAccessAuditLogger
currentUserId
in interface IAccessAuditLogger
currentUserId
- the current user identifier.public void log(String message)
IAccessAuditLogger
log
in interface IAccessAuditLogger
message
- the message.public void log()
IAccessAuditLogger
log
in interface IAccessAuditLogger
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.