◆ beastUserFromDexUser()
Translates a dex user into a beast user
- Parameters
-
- Returns
- the beast user
◆ doPost()
void eu.baltrad.dex.net.servlet.AdministratorServlet.doPost |
( |
HttpServletRequest | request, |
|
|
HttpServletResponse | response ) |
|
inline |
Handles the actual request and produces the response.
- Parameters
-
request | the http request |
response | the http response |
◆ getAdministrator()
Administrator eu.baltrad.dex.net.servlet.AdministratorServlet.getAdministrator |
( |
| ) |
|
|
inline |
◆ getJsonAdministratorCommandParser()
JsonCommandParser eu.baltrad.dex.net.servlet.AdministratorServlet.getJsonAdministratorCommandParser |
( |
| ) |
|
|
inline |
- Returns
- the json parser used for parsing beast admin commands
◆ getJsonGenerator()
JsonGenerator eu.baltrad.dex.net.servlet.AdministratorServlet.getJsonGenerator |
( |
| ) |
|
|
inline |
- Returns
- the jsonCommandResponseGenerator
◆ getMessageDate()
String eu.baltrad.dex.net.servlet.AdministratorServlet.getMessageDate |
( |
HttpServletRequest | request | ) |
|
|
inlineprotected |
Gets the message date (Date) from the servlet request header
- Parameters
-
- Returns
- the date string
◆ getNodeName()
String eu.baltrad.dex.net.servlet.AdministratorServlet.getNodeName |
( |
HttpServletRequest | request | ) |
|
|
inlineprotected |
Gets the node name (Node-Name) from the servlet request header
- Parameters
-
- Returns
- the node name
◆ getSecurityManager()
ISecurityManager eu.baltrad.dex.net.servlet.AdministratorServlet.getSecurityManager |
( |
| ) |
|
|
inline |
- Returns
- the security manager
◆ getSignature()
String eu.baltrad.dex.net.servlet.AdministratorServlet.getSignature |
( |
HttpServletRequest | request | ) |
|
|
inlineprotected |
Gets the signature (Signature) from the servlet request header
- Parameters
-
- Returns
- the signature
◆ getUserManager()
IUserManager eu.baltrad.dex.net.servlet.AdministratorServlet.getUserManager |
( |
| ) |
|
|
inline |
◆ getValidator()
◆ handleRequest()
ModelAndView eu.baltrad.dex.net.servlet.AdministratorServlet.handleRequest |
( |
HttpServletRequest | request, |
|
|
HttpServletResponse | response ) |
|
inline |
Mapping function for supporting the administrator.htm JSON API.
- Parameters
-
request | the http request |
response | the http response |
- Returns
- the model and view
◆ isAuthorizedIP()
boolean eu.baltrad.dex.net.servlet.AdministratorServlet.isAuthorizedIP |
( |
HttpServletRequest | request | ) |
|
|
inlineprotected |
Tests if the request comes from a known source
- Parameters
-
request | the servlet request |
- Returns
- true if request should be allowed
◆ isEnabled()
boolean eu.baltrad.dex.net.servlet.AdministratorServlet.isEnabled |
( |
| ) |
|
|
inline |
◆ readInputStreamFromRequest()
String eu.baltrad.dex.net.servlet.AdministratorServlet.readInputStreamFromRequest |
( |
HttpServletRequest | request | ) |
throws IOException |
|
inlineprotected |
Reads data from the input stream
- Parameters
-
- Returns
- the data
◆ setAdministrator()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setAdministrator |
( |
Administrator | administrator | ) |
|
|
inline |
- Parameters
-
administrator | the administrator to set |
◆ setConfigManager()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setConfigManager |
( |
ConfigurationManager | configManager | ) |
|
|
inline |
- Parameters
-
configManager | the configManager to set |
◆ setEnabled()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setEnabled |
( |
boolean | enabled | ) |
|
|
inline |
- Parameters
-
enabled | the enabled to set |
◆ setJsonAdministratorCommandParser()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setJsonAdministratorCommandParser |
( |
JsonCommandParser | commandParser | ) |
|
|
inline |
- Parameters
-
commandParser | the json parser |
◆ setJsonGenerator()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setJsonGenerator |
( |
JsonGenerator | jsonGenerator | ) |
|
|
inline |
- Parameters
-
jsonGenerator | the jsonGenerator to set |
◆ setRegistryManager()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setRegistryManager |
( |
RegistryManager | registryManager | ) |
|
|
inline |
- Parameters
-
registryManager | the registryManager to set |
◆ setSecurityManager()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setSecurityManager |
( |
ISecurityManager | securityManager | ) |
|
|
inline |
- Parameters
-
securityManager | the security manager |
◆ setUserManager()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setUserManager |
( |
IUserManager | userManager | ) |
|
|
inline |
- Parameters
-
userManager | the userManager to set |
◆ setValidator()
void eu.baltrad.dex.net.servlet.AdministratorServlet.setValidator |
( |
PasswordValidator | validator | ) |
|
|
inline |
- Parameters
-
validator | the validator to set |
◆ validateMessagesConfiguration()
boolean eu.baltrad.dex.net.servlet.AdministratorServlet.validateMessagesConfiguration |
( |
LogConfiguration | conf, |
|
|
SettingCommandResponse | settingResponse ) |
|
inlineprotected |
Validates the messages configuration
- Parameters
-
- Returns
◆ validateRegistryConfiguration()
boolean eu.baltrad.dex.net.servlet.AdministratorServlet.validateRegistryConfiguration |
( |
RegistryConfiguration | conf, |
|
|
SettingCommandResponse | settingResponse ) |
|
inlineprotected |
Validates the registry configuration
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/net/servlet/AdministratorServlet.java