public class SqlAuditServiceImpl extends SqlBaseService implements AuditService
MAX_MESSAGE_SIZE
Constructor and Description |
---|
SqlAuditServiceImpl(SqlRepositoryFactory repositoryFactory) |
Modifier and Type | Method and Description |
---|---|
void |
audit(AuditEventRecord record,
Task task) |
void |
cleanupAudit(com.evolveum.midpoint.xml.ns._public.common.common_3.CleanupPolicyType policy,
OperationResult parentResult)
Clean up audit records that are older than specified.
|
protected int |
cleanupAuditAttempt(Date minValue,
org.hibernate.Session session,
org.hibernate.dialect.Dialect dialect) |
List<AuditEventRecord> |
listRecords(String query,
Map<String,Object> params) |
beginTransaction, beginTransaction, cleanupSessionAndResult, findSqlException, getConfiguration, getMatchingRuleRegistry, getPerformanceMonitor, getPrismContext, getSessionFactory, getSessionFactoryBean, handleGeneralCheckedException, handleGeneralException, handleGeneralRuntimeException, logOperationAttempt, rollbackTransaction, rollbackTransaction, rollbackTransaction, setMatchingRuleRegistry, setPrismContext, setSessionFactory
public SqlAuditServiceImpl(SqlRepositoryFactory repositoryFactory)
public void audit(AuditEventRecord record, Task task)
audit
in interface AuditService
public List<AuditEventRecord> listRecords(String query, Map<String,Object> params)
listRecords
in interface AuditService
public void cleanupAudit(com.evolveum.midpoint.xml.ns._public.common.common_3.CleanupPolicyType policy, OperationResult parentResult)
AuditService
cleanupAudit
in interface AuditService
policy
- Records will be deleted base on this policy.protected int cleanupAuditAttempt(Date minValue, org.hibernate.Session session, org.hibernate.dialect.Dialect dialect)
Copyright © 2015 evolveum. All rights reserved.