Class HeaderAtnOutboundConfig

java.lang.Object
io.helidon.security.providers.header.HeaderAtnOutboundConfig

public class HeaderAtnOutboundConfig extends Object
Header assertion security provider configuration for outbound.
  • Method Details

    • builder

      public static HeaderAtnOutboundConfig.Builder builder()
      Fluent API builder to create header outbound configuration.
      Returns:
      a new builder
    • create

      public static HeaderAtnOutboundConfig create()
      Create a default header outbound configuration. This configuration is to propagate current identity.
      Returns:
      a new configuration
    • create

      public static HeaderAtnOutboundConfig create(Config config)
      Create header outbound configuration from config.
      Parameters:
      config - configuration for outbound config
      Returns:
      a new configuration
    • create

      public static HeaderAtnOutboundConfig create(TokenHandler tokenHandler, String user)
      Create header outbound configuration from a token handler and username.
      Parameters:
      tokenHandler - token handler to update outbound headers
      user - username to propagate
      Returns:
      a new header outbound config
    • create

      public static HeaderAtnOutboundConfig create(OutboundTarget outboundTarget)
      Create header outbound configuration from an outbound target.
      Parameters:
      outboundTarget - outbound target
      Returns:
      a new header outbound config from custom object, configuration, or the default one