// AclRealm.java
// $Id: AclRealm.java,v 1.1 1999/04/21 09:45:59 bmahe Exp $
// (c) COPYRIGHT MIT, INRIA and Keio, 1999.
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.jigsaw.acl;
import java.security.Principal;
import java.security.acl.AclEntry;
import java.security.acl.LastOwnerException;
import java.security.acl.NotOwnerException;
import java.security.acl.Permission;
import java.util.Enumeration;
/**
* @version $Revision: 1.1 $
* @author Benoît Mahé (bmahe@w3.org)
*/
public class AclRealm extends JAcl {
public boolean addOwner(Principal caller, Principal owner)
throws NotOwnerException
{
return false;
}
public boolean deleteOwner(Principal caller, Principal owner)
throws NotOwnerException, LastOwnerException
{
return false;
}
public boolean isOwner(Principal owner) {
return false;
}
public void setName(Principal caller, String name)
throws NotOwnerException
{
}
public String getName() {
return "toto";
}
public boolean addEntry(Principal caller, AclEntry entry)
throws NotOwnerException
{
return false;
}
public boolean removeEntry(Principal caller, AclEntry entry)
throws NotOwnerException
{
return false;
}
public Enumeration getPermissions(Principal user) {
return null;
}
public Enumeration entries() {
return null;
}
public boolean checkPermission(Principal principal, Permission permission)
{
return true;
}
public String toString() {
return "not yet implemented";
}
}
Webmaster