1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc on Wed Oct 02 14:27:56 PDT 2002 --> |
---|
6 | <TITLE> |
---|
7 | CredentialStore |
---|
8 | </TITLE> |
---|
9 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
10 | </HEAD> |
---|
11 | <SCRIPT> |
---|
12 | function asd() |
---|
13 | { |
---|
14 | parent.document.title="CredentialStore"; |
---|
15 | } |
---|
16 | </SCRIPT> |
---|
17 | <BODY BGCOLOR="white" onload="asd();"> |
---|
18 | |
---|
19 | <!-- ========== START OF NAVBAR ========== --> |
---|
20 | <A NAME="navbar_top"><!-- --></A> |
---|
21 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
---|
22 | <TR> |
---|
23 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
24 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
25 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
---|
26 | <TR ALIGN="center" VALIGN="top"> |
---|
27 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
28 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
29 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
30 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CredentialStore.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
31 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
32 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
33 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
34 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
35 | </TR> |
---|
36 | </TABLE> |
---|
37 | </TD> |
---|
38 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
39 | </EM> |
---|
40 | </TD> |
---|
41 | </TR> |
---|
42 | |
---|
43 | <TR> |
---|
44 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
45 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html"><B>PREV CLASS</B></A> |
---|
46 | <A HREF="../../../../edu/stanford/rt/credential/DataValuePrincipal.html"><B>NEXT CLASS</B></A></FONT></TD> |
---|
47 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
48 | <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
---|
49 | <A HREF="CredentialStore.html" TARGET="_top"><B>NO FRAMES</B></A> |
---|
50 | |
---|
51 | <SCRIPT> |
---|
52 | <!-- |
---|
53 | if(window==top) { |
---|
54 | document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
---|
55 | } |
---|
56 | //--> |
---|
57 | </SCRIPT> |
---|
58 | <NOSCRIPT> |
---|
59 | <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
---|
60 | </NOSCRIPT> |
---|
61 | </FONT></TD> |
---|
62 | </TR> |
---|
63 | <TR> |
---|
64 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
65 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
66 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
67 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
68 | </TR> |
---|
69 | </TABLE> |
---|
70 | <!-- =========== END OF NAVBAR =========== --> |
---|
71 | |
---|
72 | <HR> |
---|
73 | <!-- ======== START OF CLASS DATA ======== --> |
---|
74 | <H2> |
---|
75 | <FONT SIZE="-1"> |
---|
76 | edu.stanford.rt.credential</FONT> |
---|
77 | <BR> |
---|
78 | Class CredentialStore</H2> |
---|
79 | <PRE> |
---|
80 | java.lang.Object |
---|
81 | | |
---|
82 | +--<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">edu.stanford.rt.credential.RTContext</A> |
---|
83 | | |
---|
84 | +--<B>edu.stanford.rt.credential.CredentialStore</B> |
---|
85 | </PRE> |
---|
86 | <HR> |
---|
87 | <DL> |
---|
88 | <DT>public class <B>CredentialStore</B><DT>extends <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A></DL> |
---|
89 | |
---|
90 | <P> |
---|
91 | <DL> |
---|
92 | <DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu<br> |
---|
93 | |
---|
94 | This class stores all the <code>CredentialDomain</code>, and |
---|
95 | <code>RoleDefinition</code> index information. |
---|
96 | <p> |
---|
97 | A special principal is stored in the credential store to .... |
---|
98 | <p></DD> |
---|
99 | </DD> |
---|
100 | </DL> |
---|
101 | <HR> |
---|
102 | |
---|
103 | <P> |
---|
104 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
105 | |
---|
106 | |
---|
107 | <!-- =========== FIELD SUMMARY =========== --> |
---|
108 | |
---|
109 | <A NAME="field_summary"><!-- --></A> |
---|
110 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
111 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
112 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
113 | <B>Field Summary</B></FONT></TD> |
---|
114 | </TR> |
---|
115 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
116 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
117 | <CODE>private java.util.HashMap</CODE></FONT></TD> |
---|
118 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#credentialDomains">credentialDomains</A></B></CODE> |
---|
119 | |
---|
120 | <BR> |
---|
121 | A map of <code>CredentialDomain</code> objects.</TD> |
---|
122 | </TR> |
---|
123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
124 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
125 | <CODE>private java.util.HashMap</CODE></FONT></TD> |
---|
126 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#indexByIssuer">indexByIssuer</A></B></CODE> |
---|
127 | |
---|
128 | <BR> |
---|
129 | Role definitions indexed by issuer.</TD> |
---|
130 | </TR> |
---|
131 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
132 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
133 | <CODE>private java.util.HashMap</CODE></FONT></TD> |
---|
134 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#indexByIssuerAndRoleDeclaration">indexByIssuerAndRoleDeclaration</A></B></CODE> |
---|
135 | |
---|
136 | <BR> |
---|
137 | Role definitions indexed by issuer and role declaration.</TD> |
---|
138 | </TR> |
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
141 | <CODE>private java.util.HashSet</CODE></FONT></TD> |
---|
142 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#roleDefinitions">roleDefinitions</A></B></CODE> |
---|
143 | |
---|
144 | <BR> |
---|
145 | A set of <code>RoleDefinition</code> objects, including all |
---|
146 | roles defined in the <code>Credential</code> included in this |
---|
147 | <code>CredentialStore</code>.</TD> |
---|
148 | </TR> |
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
151 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A></CODE></FONT></TD> |
---|
152 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#specialPrincipal">specialPrincipal</A></B></CODE> |
---|
153 | |
---|
154 | <BR> |
---|
155 | </TD> |
---|
156 | </TR> |
---|
157 | </TABLE> |
---|
158 | <A NAME="fields_inherited_from_class_edu.stanford.rt.credential.RTContext"><!-- --></A> |
---|
159 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
160 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
161 | <TD><B>Fields inherited from class edu.stanford.rt.credential.<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A></B></TD> |
---|
162 | </TR> |
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
164 | <TD><CODE></CODE></TD> |
---|
165 | </TR> |
---|
166 | </TABLE> |
---|
167 | |
---|
168 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
169 | |
---|
170 | <A NAME="constructor_summary"><!-- --></A> |
---|
171 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
172 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
173 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
174 | <B>Constructor Summary</B></FONT></TD> |
---|
175 | </TR> |
---|
176 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
177 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#CredentialStore(edu.stanford.rt.parser.RTParser)">CredentialStore</A></B>(<A HREF="../../../../edu/stanford/rt/parser/RTParser.html">RTParser</A> rtParser)</CODE> |
---|
178 | |
---|
179 | <BR> |
---|
180 | Constructor for CredentialStore.</TD> |
---|
181 | </TR> |
---|
182 | </TABLE> |
---|
183 | |
---|
184 | <!-- ========== METHOD SUMMARY =========== --> |
---|
185 | |
---|
186 | <A NAME="method_summary"><!-- --></A> |
---|
187 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
188 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
189 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
190 | <B>Method Summary</B></FONT></TD> |
---|
191 | </TR> |
---|
192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
193 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
194 | <CODE> void</CODE></FONT></TD> |
---|
195 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#addCredentialDomain(edu.stanford.rt.credential.HashID, edu.stanford.rt.credential.CredentialDomain)">addCredentialDomain</A></B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A> id, |
---|
196 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credentialDomain)</CODE> |
---|
197 | |
---|
198 | <BR> |
---|
199 | Method addCredentialDomain.</TD> |
---|
200 | </TR> |
---|
201 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
202 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
203 | <CODE>private void</CODE></FONT></TD> |
---|
204 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#addIndexByIssuer(edu.stanford.rt.credential.RoleDefinition)">addIndexByIssuer</A></B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A> roleDefinition)</CODE> |
---|
205 | |
---|
206 | <BR> |
---|
207 | Method addIndexByIssuer.</TD> |
---|
208 | </TR> |
---|
209 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
210 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
211 | <CODE>private void</CODE></FONT></TD> |
---|
212 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#addIndexByIssuerAndRoleDeclaration(edu.stanford.rt.credential.RoleDefinition)">addIndexByIssuerAndRoleDeclaration</A></B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A> roleDefinition)</CODE> |
---|
213 | |
---|
214 | <BR> |
---|
215 | Method addIndexByIssuerAndRoleDeclaration.</TD> |
---|
216 | </TR> |
---|
217 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
218 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
219 | <CODE>private void</CODE></FONT></TD> |
---|
220 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#addRoleDefinition(edu.stanford.rt.credential.RoleDefinition)">addRoleDefinition</A></B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A> roleDefinition)</CODE> |
---|
221 | |
---|
222 | <BR> |
---|
223 | Adds a new role definition to the roleDefinitions.</TD> |
---|
224 | </TR> |
---|
225 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
226 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
227 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A></CODE></FONT></TD> |
---|
228 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#getCredentialDomain(edu.stanford.rt.credential.HashID)">getCredentialDomain</A></B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A> id)</CODE> |
---|
229 | |
---|
230 | <BR> |
---|
231 | Method getCredentialDomain.</TD> |
---|
232 | </TR> |
---|
233 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
234 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
235 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A></CODE></FONT></TD> |
---|
236 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#getCredentialDomain(java.lang.String)">getCredentialDomain</A></B>(java.lang.String id)</CODE> |
---|
237 | |
---|
238 | <BR> |
---|
239 | Method getCredentialDomain.</TD> |
---|
240 | </TR> |
---|
241 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
242 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
243 | <CODE> java.util.ArrayList</CODE></FONT></TD> |
---|
244 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#getIndexByIssuer(edu.stanford.rt.credential.Principal)">getIndexByIssuer</A></B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> issuer)</CODE> |
---|
245 | |
---|
246 | <BR> |
---|
247 | Method getIndexByIssuer.</TD> |
---|
248 | </TR> |
---|
249 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
250 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
251 | <CODE> java.util.ArrayList</CODE></FONT></TD> |
---|
252 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#getIndexByIssuerAndRoleDeclaration(edu.stanford.rt.credential.IssuerAndRoleDeclaration)">getIndexByIssuerAndRoleDeclaration</A></B>(<A HREF="../../../../edu/stanford/rt/credential/IssuerAndRoleDeclaration.html">IssuerAndRoleDeclaration</A> issuerAndRoleDeclaration)</CODE> |
---|
253 | |
---|
254 | <BR> |
---|
255 | Method getIndexByIssuerAndRoleDeclaration.</TD> |
---|
256 | </TR> |
---|
257 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
258 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
259 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A></CODE></FONT></TD> |
---|
260 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#getSpecialPrincipal()">getSpecialPrincipal</A></B>()</CODE> |
---|
261 | |
---|
262 | <BR> |
---|
263 | Returns the specialPrincipal.</TD> |
---|
264 | </TR> |
---|
265 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
266 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
267 | <CODE> java.util.Iterator</CODE></FONT></TD> |
---|
268 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#roleDefinitionIterator()">roleDefinitionIterator</A></B>()</CODE> |
---|
269 | |
---|
270 | <BR> |
---|
271 | Method roleDefinitionIterator.</TD> |
---|
272 | </TR> |
---|
273 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
274 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
275 | <CODE> void</CODE></FONT></TD> |
---|
276 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#setSpecialPrincipal(edu.stanford.rt.credential.Principal)">setSpecialPrincipal</A></B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> specialPrincipal)</CODE> |
---|
277 | |
---|
278 | <BR> |
---|
279 | Sets the specialPrincipal.</TD> |
---|
280 | </TR> |
---|
281 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
283 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
284 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html#toString(java.lang.String)">toString</A></B>(java.lang.String indent)</CODE> |
---|
285 | |
---|
286 | <BR> |
---|
287 | </TD> |
---|
288 | </TR> |
---|
289 | </TABLE> |
---|
290 | <A NAME="methods_inherited_from_class_edu.stanford.rt.credential.RTContext"><!-- --></A> |
---|
291 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
292 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
293 | <TD><B>Methods inherited from class edu.stanford.rt.credential.<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A></B></TD> |
---|
294 | </TR> |
---|
295 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
296 | <TD><CODE><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#addApplicationDomain(edu.stanford.rt.credential.HashID, edu.stanford.rt.credential.ApplicationDomain)">addApplicationDomain</A>, <A HREF="../../../../edu/stanford/rt/credential/RTContext.html#addPrincipal(edu.stanford.rt.credential.PublicKeyPrincipal, edu.stanford.rt.credential.PublicKeyPrincipalInfo)">addPrincipal</A>, <A HREF="../../../../edu/stanford/rt/credential/RTContext.html#getApplicationDomain(edu.stanford.rt.credential.HashID)">getApplicationDomain</A>, <A HREF="../../../../edu/stanford/rt/credential/RTContext.html#getApplicationDomain(java.lang.String)">getApplicationDomain</A>, <A HREF="../../../../edu/stanford/rt/credential/RTContext.html#getPrincipal(edu.stanford.rt.credential.PublicKeyPrincipal)">getPrincipal</A>, <A HREF="../../../../edu/stanford/rt/credential/RTContext.html#getSystemDomain()">getSystemDomain</A>, <A HREF="../../../../edu/stanford/rt/credential/RTContext.html#hasDomainWithID(java.lang.String)">hasDomainWithID</A></CODE></TD> |
---|
297 | </TR> |
---|
298 | </TABLE> |
---|
299 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
300 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
301 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
302 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
---|
303 | </TR> |
---|
304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
305 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
---|
306 | </TR> |
---|
307 | </TABLE> |
---|
308 | |
---|
309 | <P> |
---|
310 | |
---|
311 | <!-- ============ FIELD DETAIL =========== --> |
---|
312 | |
---|
313 | <A NAME="field_detail"><!-- --></A> |
---|
314 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
315 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
316 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
317 | <B>Field Detail</B></FONT></TD> |
---|
318 | </TR> |
---|
319 | </TABLE> |
---|
320 | |
---|
321 | <A NAME="specialPrincipal"><!-- --></A><H3> |
---|
322 | specialPrincipal</H3> |
---|
323 | <PRE> |
---|
324 | private <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> <B>specialPrincipal</B></PRE> |
---|
325 | <DL> |
---|
326 | <DL> |
---|
327 | </DL> |
---|
328 | </DL> |
---|
329 | <HR> |
---|
330 | |
---|
331 | <A NAME="credentialDomains"><!-- --></A><H3> |
---|
332 | credentialDomains</H3> |
---|
333 | <PRE> |
---|
334 | private java.util.HashMap <B>credentialDomains</B></PRE> |
---|
335 | <DL> |
---|
336 | <DD>A map of <code>CredentialDomain</code> objects. A CredentialDomain |
---|
337 | contains all the info about a <code>Credential</code>.<br> |
---|
338 | |
---|
339 | Key: <code>HashID</code> <br> |
---|
340 | Value: <code>CredentialDomain</code> |
---|
341 | <P> |
---|
342 | <DL> |
---|
343 | </DL> |
---|
344 | </DL> |
---|
345 | <HR> |
---|
346 | |
---|
347 | <A NAME="roleDefinitions"><!-- --></A><H3> |
---|
348 | roleDefinitions</H3> |
---|
349 | <PRE> |
---|
350 | private java.util.HashSet <B>roleDefinitions</B></PRE> |
---|
351 | <DL> |
---|
352 | <DD>A set of <code>RoleDefinition</code> objects, including all |
---|
353 | roles defined in the <code>Credential</code> included in this |
---|
354 | <code>CredentialStore</code>. |
---|
355 | <P> |
---|
356 | <DL> |
---|
357 | </DL> |
---|
358 | </DL> |
---|
359 | <HR> |
---|
360 | |
---|
361 | <A NAME="indexByIssuer"><!-- --></A><H3> |
---|
362 | indexByIssuer</H3> |
---|
363 | <PRE> |
---|
364 | private java.util.HashMap <B>indexByIssuer</B></PRE> |
---|
365 | <DL> |
---|
366 | <DD>Role definitions indexed by issuer. <br> |
---|
367 | |
---|
368 | Key: <code>Principal</code>: the issuer <br> |
---|
369 | Value: an ArrayList of <code>RoleDefinition</code>. |
---|
370 | <P> |
---|
371 | <DL> |
---|
372 | </DL> |
---|
373 | </DL> |
---|
374 | <HR> |
---|
375 | |
---|
376 | <A NAME="indexByIssuerAndRoleDeclaration"><!-- --></A><H3> |
---|
377 | indexByIssuerAndRoleDeclaration</H3> |
---|
378 | <PRE> |
---|
379 | private java.util.HashMap <B>indexByIssuerAndRoleDeclaration</B></PRE> |
---|
380 | <DL> |
---|
381 | <DD>Role definitions indexed by issuer and role declaration. |
---|
382 | The issuer is the issuer of the credential and the role |
---|
383 | declaration is the one corresponding to the head role term in the |
---|
384 | role definition. |
---|
385 | <br> |
---|
386 | |
---|
387 | Key: <code>IssuerAndRoleDeclaration</code> <br> |
---|
388 | Value: an ArrayList of <code>RoleDefinition</code> |
---|
389 | <P> |
---|
390 | <DL> |
---|
391 | </DL> |
---|
392 | </DL> |
---|
393 | |
---|
394 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
395 | |
---|
396 | <A NAME="constructor_detail"><!-- --></A> |
---|
397 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
398 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
399 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
400 | <B>Constructor Detail</B></FONT></TD> |
---|
401 | </TR> |
---|
402 | </TABLE> |
---|
403 | |
---|
404 | <A NAME="CredentialStore(edu.stanford.rt.parser.RTParser)"><!-- --></A><H3> |
---|
405 | CredentialStore</H3> |
---|
406 | <PRE> |
---|
407 | public <B>CredentialStore</B>(<A HREF="../../../../edu/stanford/rt/parser/RTParser.html">RTParser</A> rtParser) |
---|
408 | throws java.lang.Exception</PRE> |
---|
409 | <DL> |
---|
410 | <DD>Constructor for CredentialStore. |
---|
411 | <P> |
---|
412 | </DL> |
---|
413 | |
---|
414 | <!-- ============ METHOD DETAIL ========== --> |
---|
415 | |
---|
416 | <A NAME="method_detail"><!-- --></A> |
---|
417 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
418 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
419 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
420 | <B>Method Detail</B></FONT></TD> |
---|
421 | </TR> |
---|
422 | </TABLE> |
---|
423 | |
---|
424 | <A NAME="getSpecialPrincipal()"><!-- --></A><H3> |
---|
425 | getSpecialPrincipal</H3> |
---|
426 | <PRE> |
---|
427 | public <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> <B>getSpecialPrincipal</B>()</PRE> |
---|
428 | <DL> |
---|
429 | <DD>Returns the specialPrincipal. |
---|
430 | <P> |
---|
431 | <DD><DL> |
---|
432 | |
---|
433 | <DT><B>Returns:</B><DD>Principal</DL> |
---|
434 | </DD> |
---|
435 | </DL> |
---|
436 | <HR> |
---|
437 | |
---|
438 | <A NAME="setSpecialPrincipal(edu.stanford.rt.credential.Principal)"><!-- --></A><H3> |
---|
439 | setSpecialPrincipal</H3> |
---|
440 | <PRE> |
---|
441 | public void <B>setSpecialPrincipal</B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> specialPrincipal)</PRE> |
---|
442 | <DL> |
---|
443 | <DD>Sets the specialPrincipal. |
---|
444 | <P> |
---|
445 | <DD><DL> |
---|
446 | <DT><B>Parameters:</B><DD><CODE>specialPrincipal</CODE> - The specialPrincipal to set</DL> |
---|
447 | </DD> |
---|
448 | </DL> |
---|
449 | <HR> |
---|
450 | |
---|
451 | <A NAME="getCredentialDomain(edu.stanford.rt.credential.HashID)"><!-- --></A><H3> |
---|
452 | getCredentialDomain</H3> |
---|
453 | <PRE> |
---|
454 | public <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> <B>getCredentialDomain</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A> id)</PRE> |
---|
455 | <DL> |
---|
456 | <DD>Method getCredentialDomain. |
---|
457 | <P> |
---|
458 | <DD><DL> |
---|
459 | <DT><B>Parameters:</B><DD><CODE>id</CODE> - |
---|
460 | <DT><B>Returns:</B><DD>CredentialDomain</DL> |
---|
461 | </DD> |
---|
462 | </DL> |
---|
463 | <HR> |
---|
464 | |
---|
465 | <A NAME="getCredentialDomain(java.lang.String)"><!-- --></A><H3> |
---|
466 | getCredentialDomain</H3> |
---|
467 | <PRE> |
---|
468 | public <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> <B>getCredentialDomain</B>(java.lang.String id)</PRE> |
---|
469 | <DL> |
---|
470 | <DD>Method getCredentialDomain. |
---|
471 | <P> |
---|
472 | <DD><DL> |
---|
473 | <DT><B>Parameters:</B><DD><CODE>id</CODE> - |
---|
474 | <DT><B>Returns:</B><DD>CredentialDomain</DL> |
---|
475 | </DD> |
---|
476 | </DL> |
---|
477 | <HR> |
---|
478 | |
---|
479 | <A NAME="roleDefinitionIterator()"><!-- --></A><H3> |
---|
480 | roleDefinitionIterator</H3> |
---|
481 | <PRE> |
---|
482 | public java.util.Iterator <B>roleDefinitionIterator</B>()</PRE> |
---|
483 | <DL> |
---|
484 | <DD>Method roleDefinitionIterator. |
---|
485 | returns an Iterator for the set of role definitions. |
---|
486 | <P> |
---|
487 | <DD><DL> |
---|
488 | |
---|
489 | <DT><B>Returns:</B><DD>Iterator</DL> |
---|
490 | </DD> |
---|
491 | </DL> |
---|
492 | <HR> |
---|
493 | |
---|
494 | <A NAME="getIndexByIssuer(edu.stanford.rt.credential.Principal)"><!-- --></A><H3> |
---|
495 | getIndexByIssuer</H3> |
---|
496 | <PRE> |
---|
497 | public java.util.ArrayList <B>getIndexByIssuer</B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> issuer)</PRE> |
---|
498 | <DL> |
---|
499 | <DD>Method getIndexByIssuer. |
---|
500 | returns a list of role definitions by the given issuer. |
---|
501 | <P> |
---|
502 | <DD><DL> |
---|
503 | <DT><B>Parameters:</B><DD><CODE>issuer</CODE> - |
---|
504 | <DT><B>Returns:</B><DD>ArrayList</DL> |
---|
505 | </DD> |
---|
506 | </DL> |
---|
507 | <HR> |
---|
508 | |
---|
509 | <A NAME="getIndexByIssuerAndRoleDeclaration(edu.stanford.rt.credential.IssuerAndRoleDeclaration)"><!-- --></A><H3> |
---|
510 | getIndexByIssuerAndRoleDeclaration</H3> |
---|
511 | <PRE> |
---|
512 | public java.util.ArrayList <B>getIndexByIssuerAndRoleDeclaration</B>(<A HREF="../../../../edu/stanford/rt/credential/IssuerAndRoleDeclaration.html">IssuerAndRoleDeclaration</A> issuerAndRoleDeclaration)</PRE> |
---|
513 | <DL> |
---|
514 | <DD>Method getIndexByIssuerAndRoleDeclaration. |
---|
515 | <P> |
---|
516 | <DD><DL> |
---|
517 | <DT><B>Parameters:</B><DD><CODE>issuerAndRoleDeclaration</CODE> - |
---|
518 | <DT><B>Returns:</B><DD>ArrayList</DL> |
---|
519 | </DD> |
---|
520 | </DL> |
---|
521 | <HR> |
---|
522 | |
---|
523 | <A NAME="addCredentialDomain(edu.stanford.rt.credential.HashID, edu.stanford.rt.credential.CredentialDomain)"><!-- --></A><H3> |
---|
524 | addCredentialDomain</H3> |
---|
525 | <PRE> |
---|
526 | public void <B>addCredentialDomain</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A> id, |
---|
527 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credentialDomain) |
---|
528 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
529 | <DL> |
---|
530 | <DD>Method addCredentialDomain. |
---|
531 | <P> |
---|
532 | <DD><DL> |
---|
533 | <DT><B>Parameters:</B><DD><CODE>id</CODE> - <DD><CODE>credentialDomain</CODE> - |
---|
534 | <DT><B>Throws:</B> |
---|
535 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
536 | </DD> |
---|
537 | </DL> |
---|
538 | <HR> |
---|
539 | |
---|
540 | <A NAME="addRoleDefinition(edu.stanford.rt.credential.RoleDefinition)"><!-- --></A><H3> |
---|
541 | addRoleDefinition</H3> |
---|
542 | <PRE> |
---|
543 | private void <B>addRoleDefinition</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A> roleDefinition) |
---|
544 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
545 | <DL> |
---|
546 | <DD>Adds a new role definition to the roleDefinitions. |
---|
547 | <P> |
---|
548 | <DD><DL> |
---|
549 | <DT><B>Parameters:</B><DD><CODE>roleDefinition</CODE> - The roleDefinition to set |
---|
550 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
551 | </DD> |
---|
552 | </DL> |
---|
553 | <HR> |
---|
554 | |
---|
555 | <A NAME="addIndexByIssuer(edu.stanford.rt.credential.RoleDefinition)"><!-- --></A><H3> |
---|
556 | addIndexByIssuer</H3> |
---|
557 | <PRE> |
---|
558 | private void <B>addIndexByIssuer</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A> roleDefinition)</PRE> |
---|
559 | <DL> |
---|
560 | <DD>Method addIndexByIssuer. |
---|
561 | <P> |
---|
562 | <DD><DL> |
---|
563 | <DT><B>Parameters:</B><DD><CODE>roleDefinition</CODE> - </DL> |
---|
564 | </DD> |
---|
565 | </DL> |
---|
566 | <HR> |
---|
567 | |
---|
568 | <A NAME="addIndexByIssuerAndRoleDeclaration(edu.stanford.rt.credential.RoleDefinition)"><!-- --></A><H3> |
---|
569 | addIndexByIssuerAndRoleDeclaration</H3> |
---|
570 | <PRE> |
---|
571 | private void <B>addIndexByIssuerAndRoleDeclaration</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A> roleDefinition)</PRE> |
---|
572 | <DL> |
---|
573 | <DD>Method addIndexByIssuerAndRoleDeclaration. |
---|
574 | <P> |
---|
575 | <DD><DL> |
---|
576 | <DT><B>Parameters:</B><DD><CODE>roleDefinition</CODE> - </DL> |
---|
577 | </DD> |
---|
578 | </DL> |
---|
579 | <HR> |
---|
580 | |
---|
581 | <A NAME="toString(java.lang.String)"><!-- --></A><H3> |
---|
582 | toString</H3> |
---|
583 | <PRE> |
---|
584 | public java.lang.String <B>toString</B>(java.lang.String indent)</PRE> |
---|
585 | <DL> |
---|
586 | <DD><DL> |
---|
587 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#toString(java.lang.String)">toString</A></CODE> in class <CODE><A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A></CODE></DL> |
---|
588 | </DD> |
---|
589 | <DD><DL> |
---|
590 | </DL> |
---|
591 | </DD> |
---|
592 | </DL> |
---|
593 | <!-- ========= END OF CLASS DATA ========= --> |
---|
594 | <HR> |
---|
595 | |
---|
596 | <!-- ========== START OF NAVBAR ========== --> |
---|
597 | <A NAME="navbar_bottom"><!-- --></A> |
---|
598 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
---|
599 | <TR> |
---|
600 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
601 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
602 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
---|
603 | <TR ALIGN="center" VALIGN="top"> |
---|
604 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
605 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
606 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
607 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CredentialStore.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
608 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
609 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
610 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
611 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
612 | </TR> |
---|
613 | </TABLE> |
---|
614 | </TD> |
---|
615 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
616 | </EM> |
---|
617 | </TD> |
---|
618 | </TR> |
---|
619 | |
---|
620 | <TR> |
---|
621 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
622 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html"><B>PREV CLASS</B></A> |
---|
623 | <A HREF="../../../../edu/stanford/rt/credential/DataValuePrincipal.html"><B>NEXT CLASS</B></A></FONT></TD> |
---|
624 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
625 | <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
---|
626 | <A HREF="CredentialStore.html" TARGET="_top"><B>NO FRAMES</B></A> |
---|
627 | |
---|
628 | <SCRIPT> |
---|
629 | <!-- |
---|
630 | if(window==top) { |
---|
631 | document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
---|
632 | } |
---|
633 | //--> |
---|
634 | </SCRIPT> |
---|
635 | <NOSCRIPT> |
---|
636 | <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
---|
637 | </NOSCRIPT> |
---|
638 | </FONT></TD> |
---|
639 | </TR> |
---|
640 | <TR> |
---|
641 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
642 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
643 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
644 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
645 | </TR> |
---|
646 | </TABLE> |
---|
647 | <!-- =========== END OF NAVBAR =========== --> |
---|
648 | |
---|
649 | <HR> |
---|
650 | |
---|
651 | </BODY> |
---|
652 | </HTML> |
---|