Annotation of java/classes/org/w3c/jigsaw/acl/AclRealm.java, revision 1.2
1.1 bmahe 1: // AclRealm.java
1.2 ! bmahe 2: // $Id: AclRealm.java,v 1.1 1999/04/21 09:45:59 bmahe Exp $
1.1 bmahe 3: // (c) COPYRIGHT MIT, INRIA and Keio, 1999.
4: // Please first read the full copyright statement in file COPYRIGHT.html
5:
6: package org.w3c.jigsaw.acl;
7:
8: import java.security.Principal;
9: import java.security.acl.AclEntry;
10: import java.security.acl.LastOwnerException;
11: import java.security.acl.NotOwnerException;
12: import java.security.acl.Permission;
13:
14: import java.util.Enumeration;
15:
16: /**
1.2 ! bmahe 17: * @version $Revision: 1.1 $
1.1 bmahe 18: * @author Benoît Mahé (bmahe@w3.org)
19: */
20: public class AclRealm extends JAcl {
1.2 ! bmahe 21:
! 22: /**
! 23: * Attribute index - The realm name for this ACL.
! 24: */
! 25: protected static int ATTR_REALM = -1;
! 26:
1.1 bmahe 27:
28: public boolean addOwner(Principal caller, Principal owner)
29: throws NotOwnerException
30: {
31: return false;
32: }
33:
34: public boolean deleteOwner(Principal caller, Principal owner)
35: throws NotOwnerException, LastOwnerException
36: {
37: return false;
38: }
39:
40: public boolean isOwner(Principal owner) {
41: return false;
42: }
43:
44: public void setName(Principal caller, String name)
45: throws NotOwnerException
46: {
47:
48: }
49:
50: public String getName() {
51: return "toto";
52: }
53:
54: public boolean addEntry(Principal caller, AclEntry entry)
55: throws NotOwnerException
56: {
57: return false;
58: }
59:
60: public boolean removeEntry(Principal caller, AclEntry entry)
61: throws NotOwnerException
62: {
63: return false;
64: }
65:
66: public Enumeration getPermissions(Principal user) {
67: return null;
68: }
69:
70: public Enumeration entries() {
71: return null;
72: }
73:
74: public boolean checkPermission(Principal principal, Permission permission)
75: {
76: return true;
77: }
78:
79: public String toString() {
80: return "not yet implemented";
81: }
82:
83: }
Webmaster