    All Packages    This Package    Previous    Next

# Class net.Firewall

    java.lang.Object
       |
       +----net.Firewall

public final class Firewall
extends Object

Version:
  1.20 20 Mar 1995
Author:
  Sami Shaio

##

ACCESS_ALL
ACCESS_FIREWALL
ACCESS_NONE
ACCESS_SOURCE
DNS_DOMAIN
NIS_DOMAIN

##

Firewall()

##

addFirewallHost(String)
canOverrideFirewall()
clearFirewallHosts()
getAccessMode()
getAppletRestriction()
getClassLoader()
getDomainType()
getFirewallHost(int)
nHosts()
readAccessMode()
readAccessModeFrom(String, boolean)
readFirewallHosts()
securityError(String)
setAccessMode(int, boolean, int)
setDomainType(int)
setHandler(AccessErrorHandler)
verifyAccess(String, int)
verifyAppletLoading(WWWClassLoader)
writeAccessMode()
writeFirewallHosts()

##

ACCESS_NONE

      public final static int ACCESS_NONE

ACCESS_SOURCE

      public final static int ACCESS_SOURCE

ACCESS_FIREWALL

      public final static int ACCESS_FIREWALL

ACCESS_ALL

      public final static int ACCESS_ALL

DNS_DOMAIN

      public final static int DNS_DOMAIN

NIS_DOMAIN

      public final static int NIS_DOMAIN

##

Firewall

      public Firewall()

##

securityError

      public static void securityError(String msg)

getClassLoader

      public static Object getClassLoader()

setHandler

      public static void setHandler(AccessErrorHandler f)

canOverrideFirewall

      public static boolean canOverrideFirewall()

clearFirewallHosts

      public static void clearFirewallHosts()

addFirewallHost

      public static void addFirewallHost(String host)

setDomainType

      public static void setDomainType(int domainType)

nHosts

      public static int nHosts()

getFirewallHost

      public static String getFirewallHost(int index)

setAccessMode

      public static boolean setAccessMode(int mode,
                                          boolean applyToApplets,
                                          int domainType)

getAccessMode

      public static int getAccessMode()

getDomainType

      public static int getDomainType()

getAppletRestriction

      public static boolean getAppletRestriction()

verifyAppletLoading

      public static boolean verifyAppletLoading(WWWClassLoader wl)

verifyAccess

      public static String verifyAccess(String host,
                                        int port)

writeFirewallHosts

      public static void writeFirewallHosts()

readFirewallHosts

      public static boolean readFirewallHosts()

writeAccessMode

      public static void writeAccessMode()

readAccessModeFrom

      public static boolean readAccessModeFrom(String dir,
                                               boolean isSystem)

readAccessMode

      public static boolean readAccessMode()

    All Packages    This Package    Previous    Next