SystemAcl.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. //
  2. // System.Security.AccessControl.SystemAcl implementation
  3. //
  4. // Authors:
  5. // Dick Porter <[email protected]>
  6. // Atsushi Enomoto <[email protected]>
  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. using System.Security.Principal;
  30. namespace System.Security.AccessControl {
  31. public sealed class SystemAcl : CommonAcl
  32. {
  33. // RawAcl raw_acl;
  34. public SystemAcl (bool isContainer, bool isDS, int capacity)
  35. : this (isContainer, isDS, 0, capacity)
  36. {
  37. }
  38. public SystemAcl (bool isContainer, bool isDS, RawAcl rawAcl)
  39. : this (isContainer, isDS, 0)
  40. {
  41. // this.raw_acl = rawAcl;
  42. }
  43. public SystemAcl (bool isContainer, bool isDS, byte revision,
  44. int capacity)
  45. : base (isContainer, isDS, revision, capacity)
  46. {
  47. }
  48. public void AddAudit (AuditFlags auditFlags,
  49. SecurityIdentifier sid, int accessMask,
  50. InheritanceFlags inheritanceFlags,
  51. PropagationFlags propagationFlags)
  52. {
  53. // CommonAce?
  54. throw new NotImplementedException ();
  55. }
  56. public void AddAudit (AuditFlags auditFlags,
  57. SecurityIdentifier sid, int accessMask,
  58. InheritanceFlags inheritanceFlags,
  59. PropagationFlags propagationFlags,
  60. ObjectAceFlags objectFlags,
  61. Guid objectType,
  62. Guid inheritedObjectType)
  63. {
  64. // ObjectAce?
  65. throw new NotImplementedException ();
  66. }
  67. public bool RemoveAudit (AuditFlags auditFlags,
  68. SecurityIdentifier sid,
  69. int accessMask,
  70. InheritanceFlags inheritanceFlags,
  71. PropagationFlags propagationFlags)
  72. {
  73. throw new NotImplementedException ();
  74. }
  75. public bool RemoveAudit (AuditFlags auditFlags,
  76. SecurityIdentifier sid,
  77. int accessMask,
  78. InheritanceFlags inheritanceFlags,
  79. PropagationFlags propagationFlags,
  80. ObjectAceFlags objectFlags,
  81. Guid objectType,
  82. Guid inheritedObjectType)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. public void RemoveAuditSpecific (AuditFlags auditFlags,
  87. SecurityIdentifier sid,
  88. int accessMask,
  89. InheritanceFlags inheritanceFlags,
  90. PropagationFlags propagationFlags)
  91. {
  92. throw new NotImplementedException ();
  93. }
  94. public void RemoveAuditSpecific (AuditFlags auditFlags,
  95. SecurityIdentifier sid,
  96. int accessMask,
  97. InheritanceFlags inheritanceFlags,
  98. PropagationFlags propagationFlags,
  99. ObjectAceFlags objectFlags,
  100. Guid objectType,
  101. Guid inheritedObjectType)
  102. {
  103. throw new NotImplementedException ();
  104. }
  105. public void SetAudit (AuditFlags auditFlags,
  106. SecurityIdentifier sid,
  107. int accessMask,
  108. InheritanceFlags inheritanceFlags,
  109. PropagationFlags propagationFlags)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. public void SetAudit (AuditFlags auditFlags,
  114. SecurityIdentifier sid,
  115. int accessMask,
  116. InheritanceFlags inheritanceFlags,
  117. PropagationFlags propagationFlags,
  118. ObjectAceFlags objectFlags,
  119. Guid objectType,
  120. Guid inheritedObjectType)
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. }
  125. }