Class SecurityEvaluation


  • public class SecurityEvaluation
    extends java.lang.Object
    Test if query isolation works using networks
    • Constructor Detail

      • SecurityEvaluation

        public SecurityEvaluation()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        In this variant each platform has its own network (shared with sp).
        Throws:
        java.lang.Exception
      • parseArgs

        protected static IPlatformConfiguration parseArgs​(java.lang.String[] args)
        Parse args into config and extract settings into static fields.
        Parameters:
        args - The program arguments.
        Returns:
        The parsed platform configuration.
      • createRelayAndSSPs

        protected static void createRelayAndSSPs​(IPlatformConfiguration config)
        Create a local relay and SSP platforms
        Parameters:
        config - The platform config.
      • createPlatforms

        protected static IExternalAccess[] createPlatforms​(IPlatformConfiguration config,
                                                           int cnt,
                                                           java.lang.String type)
        Create a number of platforms (e.g. SPs or helpline nodes).
        Parameters:
        config - The platform config.
        cnt - The number of platforms
        Returns:
        The created platforms.
      • createAgents

        protected static long createAgents​(IExternalAccess[] platforms,
                                           int cnt)