2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / class / corlib / System.Security.AccessControl / SystemAcl.cs
blob56ad74b8a51fe024f664633af3f141bf75f5ad5c
1 //
2 // System.Security.AccessControl.SystemAcl implementation
3 //
4 // Authors:
5 // Dick Porter <dick@ximian.com>
6 // Atsushi Enomoto <atsushi@ximian.com>
7 //
8 // Copyright (C) 2006-2007 Novell, Inc (http://www.novell.com)
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
17 //
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 //
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 using System.Security.Principal;
32 namespace System.Security.AccessControl {
33 public sealed class SystemAcl : CommonAcl
35 // RawAcl raw_acl;
37 public SystemAcl (bool isContainer, bool isDS, int capacity)
38 : this (isContainer, isDS, 0, capacity)
42 public SystemAcl (bool isContainer, bool isDS, RawAcl rawAcl)
43 : this (isContainer, isDS, 0)
45 // this.raw_acl = rawAcl;
48 public SystemAcl (bool isContainer, bool isDS, byte revision,
49 int capacity)
50 : base (isContainer, isDS, revision, capacity)
54 public void AddAudit (AuditFlags auditFlags,
55 SecurityIdentifier sid, int accessMask,
56 InheritanceFlags inheritanceFlags,
57 PropagationFlags propagationFlags)
59 // CommonAce?
60 throw new NotImplementedException ();
63 public void AddAudit (AuditFlags auditFlags,
64 SecurityIdentifier sid, int accessMask,
65 InheritanceFlags inheritanceFlags,
66 PropagationFlags propagationFlags,
67 ObjectAceFlags objectFlags,
68 Guid objectType,
69 Guid inheritedObjectType)
71 // ObjectAce?
72 throw new NotImplementedException ();
75 public bool RemoveAudit (AuditFlags auditFlags,
76 SecurityIdentifier sid,
77 int accessMask,
78 InheritanceFlags inheritanceFlags,
79 PropagationFlags propagationFlags)
81 throw new NotImplementedException ();
84 public bool RemoveAudit (AuditFlags auditFlags,
85 SecurityIdentifier sid,
86 int accessMask,
87 InheritanceFlags inheritanceFlags,
88 PropagationFlags propagationFlags,
89 ObjectAceFlags objectFlags,
90 Guid objectType,
91 Guid inheritedObjectType)
93 throw new NotImplementedException ();
96 public void RemoveAuditSpecific (AuditFlags auditFlags,
97 SecurityIdentifier sid,
98 int accessMask,
99 InheritanceFlags inheritanceFlags,
100 PropagationFlags propagationFlags)
102 throw new NotImplementedException ();
105 public void RemoveAuditSpecific (AuditFlags auditFlags,
106 SecurityIdentifier sid,
107 int accessMask,
108 InheritanceFlags inheritanceFlags,
109 PropagationFlags propagationFlags,
110 ObjectAceFlags objectFlags,
111 Guid objectType,
112 Guid inheritedObjectType)
114 throw new NotImplementedException ();
117 public void SetAudit (AuditFlags auditFlags,
118 SecurityIdentifier sid,
119 int accessMask,
120 InheritanceFlags inheritanceFlags,
121 PropagationFlags propagationFlags)
123 throw new NotImplementedException ();
126 public void SetAudit (AuditFlags auditFlags,
127 SecurityIdentifier sid,
128 int accessMask,
129 InheritanceFlags inheritanceFlags,
130 PropagationFlags propagationFlags,
131 ObjectAceFlags objectFlags,
132 Guid objectType,
133 Guid inheritedObjectType)
135 throw new NotImplementedException ();