Class Authentication.AuthenticationSerializationHelper

java.lang.Object
org.elasticsearch.xpack.core.security.authc.Authentication.AuthenticationSerializationHelper
Enclosing class:
Authentication

public static class Authentication.AuthenticationSerializationHelper extends Object
  • Method Details

    • readUserFrom

      public static User readUserFrom(StreamInput input) throws IOException
      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

      public static void writeUserTo(User user, StreamOutput output) throws IOException
      Throws:
      IOException