public interface Auditor
The implementation of this interface shall provide the underline infrastructure to log the authorizing process
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Auditor.Target
It is recommended that the object which can be a
target of auditing to implement this interface |
| Modifier and Type | Method and Description |
|---|---|
void |
audit(Object target,
Principal principal,
String permission,
String privilege,
boolean success,
String message)
Log the authorizing process
|
void audit(Object target, Principal principal, String permission, String privilege, boolean success, String message)
Log the authorizing process
target - 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.