java.lang.Object
io.helidon.security.AuditEvent.AuditParam
- Enclosing interface:
AuditEvent
Named parameters of audit event.
If sensitive, the audit provider should either encrypt them or
obfuscate them.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether this is sensitive information (such as passwords).name()
Name of this parameter.static AuditEvent.AuditParam
New parameter of any type.static AuditEvent.AuditParam
New parameter of any type that is sensitive.toString()
value()
Value of this parameter.
-
Method Details
-
plain
New parameter of any type.- Parameters:
name
- parameter nameparameter
- parameter value- Returns:
- Plain audit parameter
-
sensitive
New parameter of any type that is sensitive.- Parameters:
name
- parameter nameparameter
- parameter value- Returns:
- Sensitive audit parameter
-
name
Name of this parameter.- Returns:
- name
-
value
Value of this parameter.- Returns:
- value or empty if not defined (null).
-
isSensitive
public boolean isSensitive()Whether this is sensitive information (such as passwords). Handle sensitive information carefully - e.g. do not log it.- Returns:
true
if this is a sensitive value
-
toString
-