Class LoggedProperties.ClientInfo

java.lang.Object
com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
Enclosing class:
LoggedProperties

public static class LoggedProperties.ClientInfo extends Object
Properties controlling how the caller's identity is resolved.
  • Constructor Details

    • ClientInfo

      public ClientInfo()
  • Method Details

    • isTrustForwardedHeaders

      @Deprecated(since="1.5.0") @DeprecatedConfigurationProperty(reason="The leftmost X-Forwarded-For entry can be spoofed behind a proxy that appends to the header. Let Spring Boot resolve the client address instead and keep this off.", replacement="server.forward-headers-strategy", since="1.5.0") public boolean isTrustForwardedHeaders()
      Deprecated.
    • setTrustForwardedHeaders

      @Deprecated(since="1.5.0") public void setTrustForwardedHeaders(boolean trustForwardedHeaders)
      Deprecated.
    • getCaller

      public CallerMode getCaller()
    • setCaller

      public void setCaller(CallerMode caller)
    • isIncludeDevice

      public boolean isIncludeDevice()
    • setIncludeDevice

      public void setIncludeDevice(boolean includeDevice)