Package datadog.appsec.api.user
Class User
java.lang.Object
datadog.appsec.api.user.User
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidSets the user monitoring tags on the root span using the prefixusrstatic voidsetUserService(UserService service) Controls the implementation for user service.
-
Constructor Details
-
User
public User()
-
-
Method Details
-
setUserService
Controls the implementation for user service. The AppSec subsystem calls this method on startup. This can be called explicitly for e.g. testing purposes.- Parameters:
service- the implementation for the user service.
-
setUser
Sets the user monitoring tags on the root span using the prefixusr- Parameters:
id- identifier of the usermetadata- custom metadata data represented as key/value map
-