2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.Web / System.Web.Security / RolePrincipal.cs
1 //
2 // System.Web.Security.RolePrincipal
3 //
4 // Authors:
5 //      Ben Maurer (bmaurer@users.sourceforge.net)
6 //
7 // (C) 2003 Ben Maurer
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 #if NET_2_0
32 using System.Collections;
33 using System.Collections.Specialized;
34 using System.Text;
35 using System.Security;
36 using System.Security.Principal;
37
38 namespace System.Web.Security {
39         public sealed class RolePrincipal : IPrincipal {
40                 
41                 [MonoTODO]
42                 public RolePrincipal ()
43                 {
44                         throw new NotImplementedException ();
45                 }
46                 
47                 [MonoTODO]
48                 public RolePrincipal (bool createFromCookie)
49                 {
50                         throw new NotImplementedException ();
51                 }
52                 
53                 [MonoTODO]
54                 public RolePrincipal (string encryptedTicket)
55                 {
56                         throw new NotImplementedException ();
57                 }
58                 
59                 [MonoTODO]
60                 public string [] GetRoles ()
61                 {
62                         throw new NotImplementedException ();
63                 }
64                 
65                 [MonoTODO]
66                 public void Init ()
67                 {
68                         throw new NotImplementedException ();
69                 }
70                 
71                 [MonoTODO]
72                 public void InitFromCookie (string cookieName)
73                 {
74                         throw new NotImplementedException ();
75                 }
76                 
77                 [MonoTODO]
78                 public void InitFromEncryptedTicket (string strTicket)
79                 {
80                         throw new NotImplementedException ();
81                 }
82                 
83                 [MonoTODO]
84                 public bool IsInRole (string role)
85                 {
86                         throw new NotImplementedException ();
87                 }
88                 
89                 [MonoTODO]
90                 public string ToEncryptedTicket ()
91                 {
92                         throw new NotImplementedException ();
93                 }
94                 
95                 [MonoTODO]
96                 public bool CachedListChanged {
97                         get { throw new NotImplementedException (); }
98                 }
99                 
100                 [MonoTODO]
101                 public string CookiePath {
102                         get { throw new NotImplementedException (); }
103                 }
104                 
105                 [MonoTODO]
106                 public bool Expired {
107                         get { throw new NotImplementedException (); }
108                 }
109                 
110                 [MonoTODO]
111                 public DateTime ExpireDate {
112                         get { throw new NotImplementedException (); }
113                 }
114                 
115                 [MonoTODO]
116                 public IIdentity Identity {
117                         get { throw new NotImplementedException (); }
118                 }
119                 
120                 [MonoTODO]
121                 public bool IsRoleListCached {
122                         get { throw new NotImplementedException (); }
123                 }
124                 
125                 [MonoTODO]
126                 public DateTime IssueDate {
127                         get { throw new NotImplementedException (); }
128                 }
129                 
130                 [MonoTODO]
131                 public string UserData {
132                         get { throw new NotImplementedException (); }
133                 }
134                 
135                 [MonoTODO]
136                 public int Version {
137                         get { throw new NotImplementedException (); }
138                 }
139         }
140 }
141 #endif
142