Class AtnTracing
java.lang.Object
io.helidon.security.integration.common.AtnTracing
Authentication tracing support.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Log error and finish the span.void
Log error and finish the span.Find closes parent span context.void
finish()
Finish the span.void
logService
(Subject serviceSubject) Log authenticated service.void
Log response status.void
Log authenticated user.protected SpanTracingConfig
-
Method Details
-
logUser
Log authenticated user.- Parameters:
userSubject
- subject of the user
-
logService
Log authenticated service.- Parameters:
serviceSubject
- subject of the service
-
finish
public void finish()Finish the span. -
error
Log error and finish the span.- Parameters:
message
- log this message as the cause of failure
-
error
Log error and finish the span.- Parameters:
throwable
- throwable causing security to fail
-
findParent
Find closes parent span context.- Returns:
- span context if found
-
logStatus
Log response status. This is to be used by authorization, authentication and outbound security. Top level security only traces proceed or deny.- Parameters:
status
- status to log
-
spanConfig
-