Commit 451b93e0 authored by Jonathon Duerig's avatar Jonathon Duerig

Add Emulab's XMLRPC port to flash permission server.

parent c8ed52bc
......@@ -16,6 +16,7 @@ use vars qw(@EXPORT $TOP_OBJDIR $TOP_SRCDIR $ELABINELAB
$PROJROOT $PROTOUSER $WAP
$SQL_UPDATE_MAJOR_REVISION $INSTALL_UPDATE_MAJOR_REVISION
$HAVE_XERCES $PROTOGENI_RPCNAME $PROTOGENI_RPCPORT
$OUTERBOSS_XMLRPCPORT
$INSTALL_APACHE_CONFIG $APACHE_VERSION $APACHE_START_COMMAND);
@EXPORT = qw($TOP_OBJDIR $TOP_SRCDIR $ELABINELAB
......@@ -24,6 +25,7 @@ use vars qw(@EXPORT $TOP_OBJDIR $TOP_SRCDIR $ELABINELAB
$PROJROOT $PROTOUSER $WAP
$SQL_UPDATE_MAJOR_REVISION $INSTALL_UPDATE_MAJOR_REVISION
$HAVE_XERCES $PROTOGENI_RPCNAME $PROTOGENI_RPCPORT
$OUTERBOSS_XMLRPCPORT
$INSTALL_APACHE_CONFIG $APACHE_VERSION $APACHE_START_COMMAND);
# Configure variables
......@@ -52,6 +54,7 @@ $APACHE_VERSION = "@APACHE_VERSION@";
$APACHE_START_COMMAND = "@APACHE_START_COMMAND@";
$PROTOGENI_RPCNAME = "@PROTOGENI_RPCNAME@";
$PROTOGENI_RPCPORT = "@PROTOGENI_RPCPORT@";
$OUTERBOSS_XMLRPCPORT = "@OUTERBOSS_XMLRPCPORT@";
# Change these if the major numbers in sql/updates or install/updates
# are changed.
......
......@@ -32,6 +32,7 @@ my $PGENIDOMAIN = "@PROTOGENI_DOMAIN@";
my $PGENISUPPORT = @PROTOGENI_SUPPORT@;
my $PROTOGENI_RPCNAME = "@PROTOGENI_RPCNAME@";
my $PROTOGENI_RPCPORT = "@PROTOGENI_RPCPORT@";
my $OUTERBOSS_XMLRPCPORT = "@OUTERBOSS_XMLRPCPORT@";
my $PROTOGENI_WEBSITE = "@PROTOGENI_WEBSITE@";
my $PROTOGENI_URL = "@PROTOGENI_URL@";
my $geniuserid = "geniuser";
......@@ -277,7 +278,7 @@ close CROSS_OUT;
chmod(0644, "$TB/www/protogeni/crossdomain.xml");
my $FLASH_LINE = "flashpolicy stream tcp nowait root /bin/echo /bin/echo '<cross-domain-policy> <site-control permitted-cross-domain-policies=\"master-only\"/> <allow-access-from domain=\"*\" to-ports=\"80,443,$PROTOGENI_RPCPORT\"/> </cross-domain-policy>'";
my $FLASH_LINE = "flashpolicy stream tcp nowait root /bin/echo /bin/echo '<cross-domain-policy> <site-control permitted-cross-domain-policies=\"master-only\"/> <allow-access-from domain=\"*\" to-ports=\"80,443,$PROTOGENI_RPCPORT,$OUTERBOSS_XMLRPCPORT\"/> </cross-domain-policy>'";
my $restartinetd = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment