Class UpdateUser

    • Field Detail

      • userName

        private String userName
        Name of the user.
      • proxId

        private String proxId
        Identifier of the user's proxy.
      • newIdentity

        private Identity newIdentity
        Identity contain Name of the new user and new password or new Subjet
    • Constructor Detail

      • UpdateUser

        public UpdateUser​(String userName,
                          String proxId,
                          Identity newIdentity)
        Constructs an UpdateUser instance.
        Parameters:
        userName - The name of the user.
        proxId - Identifier of the user's proxy.
        newIdentity - The new identity of the user.
      • UpdateUser

        public UpdateUser()
    • Method Detail

      • getUserName

        public String getUserName()
        Returns the name of the user to update.
        Returns:
        The name of the user to update.
      • getProxId

        public String getProxId()
        Returns the user's proxy identifier.
        Returns:
        The user's proxy identifier.
      • getNewIdentity

        public Identity getNewIdentity()
        Returns the new identity of the user.
        Returns:
        The new identity of the user.
      • 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.