Package org.onosproject.security
Interface AuditService
-
public interface AuditService
Service for enabling audit logging.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAuditing()
Returns true if auditing is enabled.void
logUserAction(java.lang.String user, java.lang.String action)
Logs the specified user action.
-
-
-
Method Detail
-
isAuditing
boolean isAuditing()
Returns true if auditing is enabled.- Returns:
- true if audit enabled; false otherwise
-
logUserAction
void logUserAction(java.lang.String user, java.lang.String action)
Logs the specified user action.- Parameters:
user
- user that initiated the actionaction
- action being logged
-
-