JAL-1400 add codebase and caller allowable codebase
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 26 Nov 2013 15:14:57 +0000 (15:14 +0000)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 26 Nov 2013 15:14:57 +0000 (15:14 +0000)
build.xml

index 290aacc..5f8b5af 100755 (executable)
--- a/build.xml
+++ b/build.xml
                <jar destfile="in.jar" index="true">
                        <manifest>
                                <attribute name="Main-Class" value="jalview.bin.JalviewLite" />
-                               <attribute name="Permissions" value="sandbox" /> 
-        <!--<attribute name="Trusted-Lib" value="true" /> -->
+                               <attribute name="Permissions" value="sandbox" />
+                               <!--<attribute name="Trusted-Lib" value="true" /> -->
                                <attribute name="Application-Name" value="JalviewLite Applet"/>
-                               <attribute name="Codebase" value="www.jalview.org"/>
+                               <attribute name="Codebase" value="*.jalview.org *"/>
+                               <attribute name="Caller-Allowable-Codebase" value="*.jalview.org *"/>
                        </manifest>
                        <fileset dir="${outputDir}">
                                <include name="com/**" />