source: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/CredentialStore.html @ 8f32dc0

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since 8f32dc0 was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 27.9 KB
Line 
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>
7CredentialStore
8</TITLE>
9<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10</HEAD>
11<SCRIPT>
12function asd()
13{
14parent.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>&nbsp;</TD>
28  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
29  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
30  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CredentialStore.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
31  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
34  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html"><B>PREV CLASS</B></A>&nbsp;
46&nbsp;<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>  &nbsp;
49&nbsp;<A HREF="CredentialStore.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
50&nbsp;
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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
76edu.stanford.rt.credential</FONT>
77<BR>
78Class  CredentialStore</H2>
79<PRE>
80java.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 &nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
156</TR>
157</TABLE>
158&nbsp;<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&nbsp;
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>&nbsp;rtParser)</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for CredentialStore.</TD>
181</TR>
182</TABLE>
183&nbsp;
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>&nbsp;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>&nbsp;id,
196                    <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A>&nbsp;credentialDomain)</CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;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>&nbsp;roleDefinition)</CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;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>&nbsp;roleDefinition)</CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;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>&nbsp;roleDefinition)</CODE>
221
222<BR>
223&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;id)</CODE>
229
230<BR>
231&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getCredentialDomain.</TD>
232</TR>
233<TR BGCOLOR="white" CLASS="TableRowColor">
234<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235<CODE>&nbsp;<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&nbsp;id)</CODE>
237
238<BR>
239&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getCredentialDomain.</TD>
240</TR>
241<TR BGCOLOR="white" CLASS="TableRowColor">
242<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243<CODE>&nbsp;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>&nbsp;issuer)</CODE>
245
246<BR>
247&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getIndexByIssuer.</TD>
248</TR>
249<TR BGCOLOR="white" CLASS="TableRowColor">
250<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251<CODE>&nbsp;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>&nbsp;issuerAndRoleDeclaration)</CODE>
253
254<BR>
255&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getIndexByIssuerAndRoleDeclaration.</TD>
256</TR>
257<TR BGCOLOR="white" CLASS="TableRowColor">
258<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259<CODE>&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method roleDefinitionIterator.</TD>
272</TR>
273<TR BGCOLOR="white" CLASS="TableRowColor">
274<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
275<CODE>&nbsp;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>&nbsp;specialPrincipal)</CODE>
277
278<BR>
279&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;indent)</CODE>
285
286<BR>
287&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
288</TR>
289</TABLE>
290&nbsp;<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&nbsp;<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&nbsp;
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>
322specialPrincipal</H3>
323<PRE>
324private <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>
332credentialDomains</H3>
333<PRE>
334private 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>
348roleDefinitions</H3>
349<PRE>
350private 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>
362indexByIssuer</H3>
363<PRE>
364private 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>
377indexByIssuerAndRoleDeclaration</H3>
378<PRE>
379private 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>
405CredentialStore</H3>
406<PRE>
407public <B>CredentialStore</B>(<A HREF="../../../../edu/stanford/rt/parser/RTParser.html">RTParser</A>&nbsp;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>
425getSpecialPrincipal</H3>
426<PRE>
427public <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>
439setSpecialPrincipal</H3>
440<PRE>
441public void <B>setSpecialPrincipal</B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A>&nbsp;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>
452getCredentialDomain</H3>
453<PRE>
454public <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> <B>getCredentialDomain</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;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>
466getCredentialDomain</H3>
467<PRE>
468public <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> <B>getCredentialDomain</B>(java.lang.String&nbsp;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>
480roleDefinitionIterator</H3>
481<PRE>
482public 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>
495getIndexByIssuer</H3>
496<PRE>
497public java.util.ArrayList <B>getIndexByIssuer</B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A>&nbsp;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>
510getIndexByIssuerAndRoleDeclaration</H3>
511<PRE>
512public java.util.ArrayList <B>getIndexByIssuerAndRoleDeclaration</B>(<A HREF="../../../../edu/stanford/rt/credential/IssuerAndRoleDeclaration.html">IssuerAndRoleDeclaration</A>&nbsp;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>
524addCredentialDomain</H3>
525<PRE>
526public void <B>addCredentialDomain</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;id,
527                                <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A>&nbsp;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>
541addRoleDefinition</H3>
542<PRE>
543private void <B>addRoleDefinition</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A>&nbsp;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>
556addIndexByIssuer</H3>
557<PRE>
558private void <B>addIndexByIssuer</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A>&nbsp;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>
569addIndexByIssuerAndRoleDeclaration</H3>
570<PRE>
571private void <B>addIndexByIssuerAndRoleDeclaration</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A>&nbsp;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>
582toString</H3>
583<PRE>
584public java.lang.String <B>toString</B>(java.lang.String&nbsp;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>&nbsp;</TD>
605  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
606  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
607  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CredentialStore.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
608  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
609  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
610  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
611  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html"><B>PREV CLASS</B></A>&nbsp;
623&nbsp;<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>  &nbsp;
626&nbsp;<A HREF="CredentialStore.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
627&nbsp;
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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
643<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
644DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
645</TR>
646</TABLE>
647<!-- =========== END OF NAVBAR =========== -->
648
649<HR>
650
651</BODY>
652</HTML>
Note: See TracBrowser for help on using the repository browser.