public class DumbAuditor extends Object implements Auditor, Serializable
Do nothing implementation of Auditor
Auditor.Target| Constructor and Description |
|---|
DumbAuditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
audit(Object target,
Principal principal,
String permission,
String privilege,
boolean success,
String message)
Log the authorizing process
|
public static final Auditor INSTANCE
public void audit(Object target, Principal principal, String permission, String privilege, boolean success, String message)
AuditorLog the authorizing process
audit in interface Auditortarget - the guarded resourceprincipal - who is trying to access the resourcepermission - the permission required to access the resource. might be null if the privilege is providedprivilege - the privilege requried to access the resource. might be null if the permission is providedsuccess - if the access is granted or notmessage - any additional messageCopyright © 2017–2020 OSGL (Open Source General Library). All rights reserved.