This only applies to HTTP requests with successful security authentication.
Property | Description | Default |
---|---|---|
logger.http.authentication.enabled |
filter enabled? | true |
logger.http.authentication.path |
filter path | /** |
logger.http.authentication.order |
order for Ordered | ServerFilterPhase.SECURITY.after() |
logger.http.authentication.prefix |
prefix to MDC key | `` |
logger.http.authentication.name |
MDC key of authentication name | principal |
logger.http.authentication.attributes |
authentication attributes to add to MDC, | [] |
Configuration for adding some jwt claims:
logger:
http:
authentication:
prefix: jwt.
name: sub
attributes:
- aud
- azp