Logo of 52°North

WSC.Web Configuration

This section describes the configuration of the WSC.Web web application.

All relevant parameters are defined as servlet init parameters in the WEB-INF/web.xml file of the web application.

Below you see the corresponding section of the web.xml file as delivered.

        ...
   <context-param>
        <param-name>facadeServletPath</param-name>
        <param-value>/securityGateway</param-value>
        </context-param>

        <context-param>
        <param-name>facadedispatcher.id</param-name>
        <param-value>default</param-value>
        </context-param>
        
    <servlet>
        <servlet-name>securityGateway</servlet-name>
        ...
        <init-param>
              <param-name>facadeServletPath</param-name>
              <param-value>/securityGateway</param-value>
        </init-param>
        <init-param>
              <param-name>facadeConfigFile</param-name>
              <param-value>/facadeConfig.xml</param-value>
          </init-param>

        <!-- timeout of transient facades in seconds -->
        <init-param>
            <param-name>transientFacadeTimeout</param-name>
            <param-value>900</param-value>
        </init-param>

        <!-- timeout check interval for transient facades in seconds -->
        <init-param>
            <param-name>expirationCheckInterval</param-name>
            <param-value>300</param-value>
        </init-param>

        <!--  The SecurityGatewayServlet redirects the client to the specified url if a facade was requested, that does not exist -->
        <init-param>
            <param-name>reloginPageUrl</param-name>
            <param-value>/wscweb/Login.do</param-value>
        </init-param>
        ...
WSC.Web parameters
Parameter value Description
facadeServletPath Defines the additional path element that is appended to the web application base URL for facades. This usually has not to be changed. If you want to change this, you have change references to this in some JSPs, too
facadeDispatcher.id Defines which of the system-wide available facade handlers will be used. Don't change it, except you really know what you're doing!
facadeConfigFile Path to the file where facades are stored. It will be created the first time you create a facade
transientFacadeTimeout Number of seconds until a transient facade expires
expirationCheckInterval Number of seconds the WSC.Web application cleans up expired facades from the memory.
reloginPageUrl Path to the page sthat should be shown, if an expired/non-existing facade is requested