Package fish.payara.audit
Class AdminAuditService
- java.lang.Object
-
- fish.payara.audit.AdminAuditService
-
@Service(name="asadmin-audit") @RunLevel(10) public class AdminAuditService extends Object
Audit Admin commands and sends them to the notification services. Currently only for commands sent via the admin console.- Since:
- 5.192
- Author:
- jonathan coustick
-
-
Constructor Summary
Constructors Constructor Description AdminAuditService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbootstrapNotifierList()Starts all notifiers that have been enable with the admin audit service.AuditLevelgetAuditLevel()Set<String>getEnabledNotifiers()booleanisEnabled()voidpostConstruct()voidrecordAsadminCommand(String command, ParameterMap parameters, Subject subject)voidsetAuditLevel(AuditLevel level)voidsetEnabled(Boolean enabled)
-
-
-
Method Detail
-
postConstruct
@PostConstruct public void postConstruct()
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
getAuditLevel
public AuditLevel getAuditLevel()
-
setAuditLevel
public void setAuditLevel(AuditLevel level)
-
bootstrapNotifierList
public void bootstrapNotifierList()
Starts all notifiers that have been enable with the admin audit service.
-
recordAsadminCommand
public void recordAsadminCommand(String command, ParameterMap parameters, Subject subject)
-
-