Annotation Type Audited
-
@InterceptorBinding @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface Audited
This annotation is processed byAuditedInterceptor
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringactionIf empty or null the method name will be used as the action identifierString[]extractParametersIf a method parameter value should be recorded to the auditing log, but there is no extractor defined (e.g.
-
-
-
Element Detail
-
action
String action
If empty or null the method name will be used as the action identifier- Returns:
- Default:
- ""
-
-
-
extractParameters
String[] extractParameters
If a method parameter value should be recorded to the auditing log, but there is no extractor defined (e.g. the value is a type without specific meaning, such as a String), this field can be used by adding two successive values: 1. Position of the given parameter, starting at 0, as String. Parameter name is not used, in case it is not available via reflection. 2. Key under which the value of the parameter should be recorded. There can be more than one such pair.- Default:
- {}
-
-