Class OutboundTracing
- java.lang.Object
- 
- io.helidon.security.integration.common.OutboundTracing
 
- 
 public class OutboundTracing extends Object Tracing support for outbound security.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(String message)Log error and finish the span.voiderror(Throwable throwable)Log error and finish the span.Optional<SpanContext>findParent()Find closes parent span context.voidfinish()Finish the span.voidlogStatus(SecurityResponse.SecurityStatus status)Log response status.protected SpanTracingConfigspanConfig()
 
- 
- 
- 
Method Detail- 
finishpublic void finish() Finish the span.
 - 
errorpublic void error(String message) Log error and finish the span.- Parameters:
- message- log this message as the cause of failure
 
 - 
errorpublic void error(Throwable throwable) Log error and finish the span.- Parameters:
- throwable- throwable causing security to fail
 
 - 
findParentpublic Optional<SpanContext> findParent() Find closes parent span context.- Returns:
- span context if found
 
 - 
logStatuspublic void logStatus(SecurityResponse.SecurityStatus status) 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
 
 - 
spanConfigprotected SpanTracingConfig spanConfig() 
 
- 
 
-