RolePrincipal.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. //
  2. // System.Web.Security.RolePrincipal
  3. //
  4. // Authors:
  5. // Ben Maurer ([email protected])
  6. //
  7. // (C) 2003 Ben Maurer
  8. //
  9. #if NET_1_2
  10. using System.Collections;
  11. using System.Collections.Specialized;
  12. using System.Text;
  13. using System.Security;
  14. using System.Security.Principal;
  15. namespace System.Web.Security {
  16. public sealed class RolePrincipal : IPrincipal {
  17. [MonoTODO]
  18. public RolePrincipal ()
  19. {
  20. throw new NotImplementedException ();
  21. }
  22. [MonoTODO]
  23. public RolePrincipal (bool createFromCookie)
  24. {
  25. throw new NotImplementedException ();
  26. }
  27. [MonoTODO]
  28. public RolePrincipal (string encryptedTicket)
  29. {
  30. throw new NotImplementedException ();
  31. }
  32. [MonoTODO]
  33. public string [] GetRoles ()
  34. {
  35. throw new NotImplementedException ();
  36. }
  37. [MonoTODO]
  38. public void Init ()
  39. {
  40. throw new NotImplementedException ();
  41. }
  42. [MonoTODO]
  43. public void InitFromCookie (string cookieName)
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. [MonoTODO]
  48. public void InitFromEncryptedTicket (string strTicket)
  49. {
  50. throw new NotImplementedException ();
  51. }
  52. [MonoTODO]
  53. public bool IsInRole (string role)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. [MonoTODO]
  58. public string ToEncryptedTicket ()
  59. {
  60. throw new NotImplementedException ();
  61. }
  62. [MonoTODO]
  63. public bool CachedListChanged {
  64. get { throw new NotImplementedException (); }
  65. }
  66. [MonoTODO]
  67. public string CookiePath {
  68. get { throw new NotImplementedException (); }
  69. }
  70. [MonoTODO]
  71. public bool Expired {
  72. get { throw new NotImplementedException (); }
  73. }
  74. [MonoTODO]
  75. public DateTime ExpireDate {
  76. get { throw new NotImplementedException (); }
  77. }
  78. [MonoTODO]
  79. public IIdentity Identity {
  80. get { throw new NotImplementedException (); }
  81. }
  82. [MonoTODO]
  83. public bool IsRoleListCached {
  84. get { throw new NotImplementedException (); }
  85. }
  86. [MonoTODO]
  87. public DateTime IssueDate {
  88. get { throw new NotImplementedException (); }
  89. }
  90. [MonoTODO]
  91. public string UserData {
  92. get { throw new NotImplementedException (); }
  93. }
  94. [MonoTODO]
  95. public int Version {
  96. get { throw new NotImplementedException (); }
  97. }
  98. }
  99. }
  100. #endif