Class DefaultAuditAppender
- java.lang.Object
-
- org.apache.syncope.core.logic.audit.DefaultAuditAppender
-
- All Implemented Interfaces:
AuditAppender
- Direct Known Subclasses:
DefaultRewriteAuditAppender
,ElasticsearchAuditAppender
,JdbcAuditAppender
,OpenSearchAuditAppender
,TestFileAuditAppender
public abstract class DefaultAuditAppender extends Object implements AuditAppender
Default (abstract) implementation of custom audit appender. It is bound to an empty collection of events, i.e. it does not create any logger. This class shall be extended by non-rewrite appenders; for rewrite, extendDefaultRewriteAuditAppender
instead.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
domain
protected org.apache.logging.log4j.core.Appender
targetAppender
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultAuditAppender(String domain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.logging.log4j.core.Appender
getTargetAppender()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.logic.audit.AuditAppender
getEvents, getRewriteAppender, getTargetAppenderName
-
-
-
-
Field Detail
-
domain
protected final String domain
-
targetAppender
protected org.apache.logging.log4j.core.Appender targetAppender
-
-
Constructor Detail
-
DefaultAuditAppender
protected DefaultAuditAppender(String domain)
-
-
Method Detail
-
getTargetAppender
public org.apache.logging.log4j.core.Appender getTargetAppender()
- Specified by:
getTargetAppender
in interfaceAuditAppender
-
-