version 1.3, 1999/04/27 15:05:47
|
version 1.4, 1999/10/12 12:27:36
|
Line 12 import java.net.InetAddress;
|
Line 12 import java.net.InetAddress;
|
* @version $Revision$ |
* @version $Revision$ |
* @author Benoît Mahé (bmahe@w3.org) |
* @author Benoît Mahé (bmahe@w3.org) |
*/ |
*/ |
abstract public interface AclPrincipal extends Principal { |
public interface AclPrincipal extends Principal { |
|
|
/** |
/** |
* Get the realm associated to this principal.(could be his group) |
* Get the realm associated to this principal.(could be his group) |
* @return the realm name. |
* @return the realm name. |
*/ |
*/ |
abstract public String getRealm(); |
public String getRealm(); |
|
|
/** |
/** |
* Get the password associated to this principal. |
* Get the password associated to this principal. |
* @return the password |
* @return the password |
*/ |
*/ |
abstract public String getPassword(); |
public String getPassword(); |
|
|
/** |
/** |
* Set a parameter. |
* Set a parameter. |
* @param name the parameter name |
* @param name the parameter name |
* @param value the parameter value |
* @param value the parameter value |
*/ |
*/ |
abstract public void setValue(String name, Object value); |
public void setValue(String name, Object value); |
|
|
/** |
/** |
* Get a parameter value. |
* Get a parameter value. |
* @param name the parameter name. |
* @param name the parameter name. |
* @return the parameter value |
* @return the parameter value |
*/ |
*/ |
abstract public Object getValue(String name); |
public Object getValue(String name); |
|
|
/** |
/** |
* Return true if the IPadress associated to this principal match |
* Return true if the IPadress associated to this principal match |
Line 46 abstract public interface AclPrincipal e
|
Line 46 abstract public interface AclPrincipal e
|
* @param adr an IP adress |
* @param adr an IP adress |
* @return true if the ip adress match. |
* @return true if the ip adress match. |
*/ |
*/ |
abstract public boolean matchIP(InetAddress adr); |
public boolean matchIP(InetAddress adr); |
|
|
} |
} |
|
|