Class CreateUserRequest

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
      • identity

        private Identity identity
        Identity contain Name of the user and password or subject
      • serverId

        private int serverId
        Id of the server where deploying the proxy.
    • Constructor Detail

      • CreateUserRequest

        public CreateUserRequest​(Identity identity,
                                 int serverId,
                                 Properties prop)
        Constructs a CreateUserRequest instance.
        Parameters:
        identity - The authentication of the user.
        serverId - The id of the server where deploying its proxy.
        prop - properties
      • CreateUserRequest

        public CreateUserRequest()
    • Method Detail

      • getIdentity

        public Identity getIdentity()
        Returns:
        identity (contains the name and password or Subject of the user to create).
      • getProperties

        public Properties getProperties()
        Returns:
        return the properties.
      • getServerId

        public int getServerId()
        Returns the id of the server where deploying its proxy.
        Returns:
        the id of the server where deploying its proxy.
      • readFrom

        public void readFrom​(InputStream is)
                      throws IOException
        Description copied from interface: Streamable
        The object implements the readFrom method to restore its contents from the input stream.
        Parameters:
        is - the stream to read data from in order to restore the object
        Throws:
        IOException - an error occurs during IO operation.
      • writeTo

        public void writeTo​(OutputStream os)
                     throws IOException
        Description copied from interface: Streamable
        The object implements the writeTo method to write its contents to the output stream.
        Parameters:
        os - the stream to write the object to
        Throws:
        IOException - an error occurs during IO operation.