org.objectweb.carol.jndi.registry
Class RegistryFireWall

java.lang.Object
  extended byorg.objectweb.carol.jndi.registry.RegistryFireWall

public class RegistryFireWall
extends java.lang.Object

Author:
Guillaume Riviere Feb 7, 2004

Constructor Summary
RegistryFireWall()
           
 
Method Summary
 void addAllowedAddress(java.net.InetAddress i)
          remove a forbiden adress
 void addForbidenAddress(java.net.InetAddress i)
          add a forbiden address
 void allowAll()
          Allow everybody
 void forbidAll()
          Forbid everybody
 boolean isAllow(java.net.InetAddress i)
          Tets if a InetAdress is allow
 boolean isAllowAll()
          is allow for all
 java.net.InetAddress[] listAllowedAddress()
          list Allowed Adress
 java.net.InetAddress[] listForbidenAddress()
          list forbiden adress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryFireWall

public RegistryFireWall()
Method Detail

isAllow

public boolean isAllow(java.net.InetAddress i)
Tets if a InetAdress is allow

Parameters:
i -
Returns:

allowAll

public void allowAll()
Allow everybody


forbidAll

public void forbidAll()
Forbid everybody


addForbidenAddress

public void addForbidenAddress(java.net.InetAddress i)
add a forbiden address

Parameters:
i -

addAllowedAddress

public void addAllowedAddress(java.net.InetAddress i)
remove a forbiden adress

Parameters:
i -

listForbidenAddress

public java.net.InetAddress[] listForbidenAddress()
list forbiden adress

Returns:

listAllowedAddress

public java.net.InetAddress[] listAllowedAddress()
list Allowed Adress

Returns:

isAllowAll

public boolean isAllowAll()
is allow for all

Returns: