Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Flash Remoting Gateway Configuration File - Version 1.2
 
    This presence of this file overrides the legacy behavior of
    the gateway. It allows the developer to customize which
    services are available.
 
    This file also introduces the concept of a basic whitelist
    which allows the developer to restrict access to
    particular classes and JNDI names.
 -->
<gateway-config xmlns="http://www.macromedia.com/2004/gateway-config">
 
    <!--
    This list establishes which service adapters are enabled and
    the order in which they are queried when searching for a supported service.
     -->
    <service-adapters>
        <adapter>flashgateway.adapter.resultset.PageableResultSetAdapter</adapter>
        <adapter>coldfusion.flash.adapter.ColdFusionAdapter</adapter>
        <adapter>coldfusion.flash.adapter.CFCAdapter</adapter>
        <adapter>coldfusion.flash.adapter.CFSSASAdapter</adapter>
        <!--<adapter type="stateful-class">flashgateway.adapter.java.JavaBeanAdapter</adapter>-->
        <!--<adapter type="stateless-class">flashgateway.adapter.java.JavaAdapter</adapter>-->
        <!--<adapter type="ejb">flashgateway.adapter.java.EJBAdapter</adapter>-->
        <!--<adapter type="servlet">flashgateway.adapter.java.ServletAdapter</adapter>-->
        <!--<adapter>coldfusion.flash.adapter.CFWSAdapter</adapter>-->
    </service-adapters>
 
 
    <security>
        <!-- The flashgateway.security.LoginCommand implementation used
         to perform local authentication, depending on the application
         server. -->
        <login-command>
            <class>flashgateway.security.JRunLoginCommand</class>
            <server-match>JRun</server-match>
        </login-command>
 
        <!-- Stack traces are useful for debugging and product support, but they should
        not be sent to the client in "production mode" as they can expose internal
        information about the system. -->
        <show-stacktraces>false</show-stacktraces>
 
        <!-- A whitelist specifies which remote sources can be accessed through the
        gateway. The * character can be used as a wildcard to imply ALL matches. -->
        <whitelist>
            <source>*</source>
        </whitelist>
    </security>
 
    <!-- The flashgateway.log.Logger implementation used to redirect
     logging information, depending on the application server. -->
    <logger level="Error">coldfusion.flash.ColdFusionLogger</logger>
 
    <!-- A redirect URL can be supplied to handle HTTP requests that were
     not sent with AMF data -->
    <!-- <redirect-url>{context.root}</redirect-url>  -->
 
    <!-- Determines how complex objects/generic class data types are to be
    handled by the gateway. The two options are Classic or Flex.
 
    Classic mode performs shallow serialization on all non-static fields
    for classes implemeting java.io.Serializable.
 
    Flex mode uses improvements made for Flex's RemoteObject feature
    and performs deep serialization on fields with bean accessors for any
     class. -->
    <serialization>Classic</serialization>
 
    <!-- ActionScript 1.0 and ColdFusion use case insensitive data structures
    to store associative arrays, objects and structs - the Java representation
    of these datatypes requires a case-insensitive Map, which the gateway
    achieves by looking up all keys in lowercase.  If case insensitivity is desired
    then this setting should be set to true.  ActionScript 2.0 is now case sensitive,
    but setting this to true will allow ColdFusion to look up keys case insensitively, and
    will not actually change the case of the keys.  For AS 2.0 to java this should be false,
    since both are case sensitive. -->
    <lowercase-keys>true</lowercase-keys>
 
</gateway-config>