|
CommandServlet, is used by iwsCommand and
stop_iws to stop the server.
Aliases
Alias: /command
Type: Servlet
Resource: CommandServlet
Servlets
Alias: CommandServlet
Class File: stec.iws.CommandServlet
Parameters:
Notes
Normally defined as a Servlet aliased as /command.
CommandServlet accepts the following request parameters:
|
action
|
The action to take,
[stop].
stop is used to stop the server.
|
|
id
|
The administrator's username as defined in
/tini_iws/deploy/config/iws.ini.
|
|
pw
|
The administrator's password as defined in
/tini_iws/deploy/config/iws.ini.
|
CommandServlets returns the following status codes:
|
200
|
Server was stopped.
|
|
401
|
Invalid username/password.
|
|
403
|
Server can not be administered remotely.
|
|
501
|
Invalid action.
|
Example
http://localhost:8080/command ?id=admin&pw=admin&action=stop
Notes
Administrators should immediately change the default Username/Password.
Username/Password should not be any obvious word, easily guessed terms,
should be at least 8 characters and should contain letters,
numeric and symbols.
Additionally Username/Password should be kept private, with limited
controlled disclosure and should be changed frequently.
|