Module org.elasticsearch.xcore
Class Authentication.AuthenticationSerializationHelper
java.lang.Object
org.elasticsearch.xpack.core.security.authc.Authentication.AuthenticationSerializationHelper
- Enclosing class:
Authentication
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserreadUserFrom(StreamInput input) Read the User object as well as the trailing boolean flag if the user is *not* an internal user.static voidwriteUserTo(User user, StreamOutput output)
-
Method Details
-
readUserFrom
Read the User object as well as the trailing boolean flag if the user is *not* an internal user. The trailing boolean, if exits, must be false (indicating no following inner-user).- Throws:
IOException
-
writeUserTo
- Throws:
IOException
-