Class LoggedProperties.ClientInfo
java.lang.Object
com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
- Enclosing class:
LoggedProperties
Properties controlling how the caller's identity is resolved.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanDeprecated.voidsetCaller(CallerMode caller) voidsetIncludeDevice(boolean includeDevice) voidsetTrustForwardedHeaders(boolean trustForwardedHeaders) Deprecated.
-
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. -
getCaller
-
setCaller
-
isIncludeDevice
public boolean isIncludeDevice() -
setIncludeDevice
public void setIncludeDevice(boolean includeDevice)
-