System.Drawing: added email to icon and test file headers
[mono.git] / mcs / class / corlib / System.Security.AccessControl / SystemAcl.cs
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.
28 //
29
30 using System.Security.Principal;
31
32 namespace System.Security.AccessControl {
33         public sealed class SystemAcl : CommonAcl
34         {
35 //              RawAcl raw_acl;
36                 
37                 public SystemAcl (bool isContainer, bool isDS, int capacity)
38                         : this (isContainer, isDS, 0, capacity)
39                 {
40                 }
41                 
42                 public SystemAcl (bool isContainer, bool isDS, RawAcl rawAcl)
43                         : this (isContainer, isDS, 0)
44                 {
45 //                      this.raw_acl = rawAcl;
46                 }
47                 
48                 public SystemAcl (bool isContainer, bool isDS, byte revision,
49                                   int capacity)
50                         : base (isContainer, isDS, revision, capacity)
51                 {
52                 }
53
54                 public void AddAudit (AuditFlags auditFlags,
55                                       SecurityIdentifier sid, int accessMask,
56                                       InheritanceFlags inheritanceFlags,
57                                       PropagationFlags propagationFlags)
58                 {
59                         // CommonAce?
60                         throw new NotImplementedException ();
61                 }
62                 
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)
70                 {
71                         // ObjectAce?
72                         throw new NotImplementedException ();
73                 }
74                 
75                 public bool RemoveAudit (AuditFlags auditFlags,
76                                          SecurityIdentifier sid,
77                                          int accessMask,
78                                          InheritanceFlags inheritanceFlags,
79                                          PropagationFlags propagationFlags)
80                 {
81                         throw new NotImplementedException ();
82                 }
83                 
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)
92                 {
93                         throw new NotImplementedException ();
94                 }
95                 
96                 public void RemoveAuditSpecific (AuditFlags auditFlags,
97                                                  SecurityIdentifier sid,
98                                                  int accessMask,
99                                                  InheritanceFlags inheritanceFlags,
100                                                  PropagationFlags propagationFlags)
101                 {
102                         throw new NotImplementedException ();
103                 }
104                 
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)
113                 {
114                         throw new NotImplementedException ();
115                 }
116                 
117                 public void SetAudit (AuditFlags auditFlags,
118                                       SecurityIdentifier sid,
119                                       int accessMask,
120                                       InheritanceFlags inheritanceFlags,
121                                       PropagationFlags propagationFlags)
122                 {
123                         throw new NotImplementedException ();
124                 }
125                 
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)
134                 {
135                         throw new NotImplementedException ();
136                 }
137
138                 internal override string GetSddlForm(ControlFlags sdFlags, bool isDacl)
139                 {
140                         throw new NotImplementedException();
141                 }
142         }
143 }
144