Method Summary |
|
public void | _reloadUserTicket() Reload the UserTicket, needed i.e. |
public static void | cleanup() Performs a cleanup of the stored informations. |
public static FxContext | get() |
public String | getAbsolutePath(String path) Returns the absolute path for the given resource (i.e. |
public String | getApplicationId() Returns the id of the appication the request was made in. |
public String | getContextPath() Return the context path of this request. |
public int | getDivisionId() Returns the id of the division. |
public FxLanguage | getLanguage() |
protected static UserTicket | getLastUserTicket(HttpSession session) |
public Locale | getLocale() |
public long | getNodeId() |
public String | getRelativeRequestURI() Returns the decoded relative request URI. |
public String | getRelativeRequestURI(boolean decode) Returns the relative request URI. |
public String | getRemoteHost() Returns the calling remote host. |
public String | getRequestURI() Returns the request URI. |
public String | getRequestUriNoContext() Returns the request URI without its context. |
public boolean | getRunAsSystem() Returns true if all calls are done without permission checks for the time beeing. |
public String | getServer() Returns the full server URL including the port for this request, e.g. |
public String | getServerName() Returns the name of the server handling this request, e.g. |
public int | getServerPort() Returns the port of the server handling this request, e.g. |
public String | getSessionId() |
public UserTicket | getTicket() |
public boolean | getTreeWasModified() Returns true if the tree was modified within this thread by the
user belonging to this thread. |
public boolean | isGlobalAuthenticated() |
public boolean | isGlobalConfigDivision() Returns true if the division is the global configuration division. |
public boolean | isTestDivision() Return true if the current context runs in the test division. |
public boolean | isWebDAV() Returns true if this request is triggered by a webdav operation. |
public void | login(String loginname, String password, boolean takeOver) Tries to login a user. |
public void | logout() Logout of the current user. |
public void | overrideTicket(UserTicket ticket) Override the used ticket. |
public void | runAsSystem() Runs all further calls as SYSTEM user with full permissions until stopRunAsSystem
gets called. |
public void | setContextPath(String contextPath) |
public void | setDivisionId(int division) Changes the divison ID. |
public void | setGlobalAuthenticated(boolean globalAuthenticated) |
protected static void | setLastUserTicket(HttpSession session, UserTicket lastUserTicket) |
public void | setNodeId(long nodeId) |
public void | setTicket(UserTicket ticket) |
public void | setTreeWasModified() |
public void | stopRunAsSystem() Removes one runeAsSystem flag from the stack. |
public static FxContext | storeInfos(HttpServletRequest request, boolean dynamicContent, int divisionId, boolean isWebdav) Stores the needed informations about the sessions. |
public String | toString() Returns a string representation of the object. |