source: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/CredentialDomain.html @ 728001e

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

ABAC sources from Cobham

  • Property mode set to 100644
File size: 28.8 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>
7CredentialDomain
8</TITLE>
9<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10</HEAD>
11<SCRIPT>
12function asd()
13{
14parent.document.title="CredentialDomain";
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/CredentialDomain.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/ApplicationDomain.html"><B>PREV CLASS</B></A>&nbsp;
46&nbsp;<A HREF="../../../../edu/stanford/rt/credential/CredentialStore.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="CredentialDomain.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  CredentialDomain</H2>
79<PRE>
80java.lang.Object
81  |
82  +--<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">edu.stanford.rt.credential.DomainSpecification</A>
83        |
84        +--<B>edu.stanford.rt.credential.CredentialDomain</B>
85</PRE>
86<HR>
87<DL>
88<DT>public class <B>CredentialDomain</B><DT>extends <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></DL>
89
90<P>
91<DL>
92<DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu<br>
93
94 Implementation of <code>Credential</code> element.  Only one CredentialDomain object is associated with each Credential
95 object.</DD>
96</DD>
97</DL>
98<HR>
99
100<P>
101<!-- ======== NESTED CLASS SUMMARY ======== -->
102
103
104<!-- =========== FIELD SUMMARY =========== -->
105
106<A NAME="field_summary"><!-- --></A>
107<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
108<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
109<TD COLSPAN=2><FONT SIZE="+2">
110<B>Field Summary</B></FONT></TD>
111</TR>
112<TR BGCOLOR="white" CLASS="TableRowColor">
113<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
114<CODE>private &nbsp;org.w3c.dom.Element</CODE></FONT></TD>
115<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#credentialElement">credentialElement</A></B></CODE>
116
117<BR>
118&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the XML Element of the associated Credential.</TD>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A></CODE></FONT></TD>
123<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#issuer">issuer</A></B></CODE>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Issuer of the associated Credential.</TD>
127</TR>
128<TR BGCOLOR="white" CLASS="TableRowColor">
129<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130<CODE>private &nbsp;java.util.HashMap</CODE></FONT></TD>
131<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#principals">principals</A></B></CODE>
132
133<BR>
134&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;maps String (principal shortName) to Principal object</TD>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138<CODE>private &nbsp;java.util.ArrayList</CODE></FONT></TD>
139<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#roleDefinitions">roleDefinitions</A></B></CODE>
140
141<BR>
142&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;list of role defined in this credential.</TD>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/ValidityTime.html">ValidityTime</A></CODE></FONT></TD>
147<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#validityTime">validityTime</A></B></CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;validity time of the associated Credential.</TD>
151</TR>
152</TABLE>
153&nbsp;<A NAME="fields_inherited_from_class_edu.stanford.rt.credential.DomainSpecification"><!-- --></A>
154<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
155<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
156<TD><B>Fields inherited from class edu.stanford.rt.credential.<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></B></TD>
157</TR>
158<TR BGCOLOR="white" CLASS="TableRowColor">
159<TD><CODE></CODE></TD>
160</TR>
161</TABLE>
162&nbsp;
163<!-- ======== CONSTRUCTOR SUMMARY ======== -->
164
165<A NAME="constructor_summary"><!-- --></A>
166<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
167<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
168<TD COLSPAN=2><FONT SIZE="+2">
169<B>Constructor Summary</B></FONT></TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#CredentialDomain(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext)">CredentialDomain</A></B>(org.w3c.dom.Element&nbsp;credentialElement,
173                 <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A>&nbsp;rtContext)</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for CredentialDomain.</TD>
177</TR>
178</TABLE>
179&nbsp;
180<!-- ========== METHOD SUMMARY =========== -->
181
182<A NAME="method_summary"><!-- --></A>
183<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
184<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
185<TD COLSPAN=2><FONT SIZE="+2">
186<B>Method Summary</B></FONT></TD>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190<CODE>&nbsp;void</CODE></FONT></TD>
191<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#addPrincipal(java.lang.String, edu.stanford.rt.credential.Principal)">addPrincipal</A></B>(java.lang.String&nbsp;shortName,
192             <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A>&nbsp;principal)</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addPrincipal.</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;void</CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#addRoleDefinition(edu.stanford.rt.credential.RoleDefinition)">addRoleDefinition</A></B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A>&nbsp;roleDefinition)</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a new role definition.</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A></CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#getIssuer()">getIssuer</A></B>()</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the issuer.</TD>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A></CODE></FONT></TD>
216<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#getPrincipal(java.lang.String)">getPrincipal</A></B>(java.lang.String&nbsp;shortName)</CODE>
217
218<BR>
219&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getPrincipal.</TD>
220</TR>
221<TR BGCOLOR="white" CLASS="TableRowColor">
222<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/ValidityTime.html">ValidityTime</A></CODE></FONT></TD>
224<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#getValidityTime()">getValidityTime</A></B>()</CODE>
225
226<BR>
227&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the validityTime.</TD>
228</TR>
229<TR BGCOLOR="white" CLASS="TableRowColor">
230<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD>
232<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#lookupRoleDeclaration(java.lang.String)">lookupRoleDeclaration</A></B>(java.lang.String&nbsp;roleName)</CODE>
233
234<BR>
235&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupRoleDeclaration.</TD>
236</TR>
237<TR BGCOLOR="white" CLASS="TableRowColor">
238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A></CODE></FONT></TD>
240<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#lookupType(java.lang.String)">lookupType</A></B>(java.lang.String&nbsp;typeName)</CODE>
241
242<BR>
243&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupType.</TD>
244</TR>
245<TR BGCOLOR="white" CLASS="TableRowColor">
246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247<CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
248<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#roleDefinitionIterator()">roleDefinitionIterator</A></B>()</CODE>
249
250<BR>
251&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method roleDefinitionIterator.</TD>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255<CODE>&nbsp;void</CODE></FONT></TD>
256<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#setHashID(edu.stanford.rt.credential.HashID)">setHashID</A></B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;hashID)</CODE>
257
258<BR>
259&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the hashID.</TD>
260</TR>
261<TR BGCOLOR="white" CLASS="TableRowColor">
262<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263<CODE>&nbsp;void</CODE></FONT></TD>
264<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#setIssuer(edu.stanford.rt.credential.Principal)">setIssuer</A></B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A>&nbsp;issuer)</CODE>
265
266<BR>
267&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method setIssuer.</TD>
268</TR>
269<TR BGCOLOR="white" CLASS="TableRowColor">
270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271<CODE>&nbsp;void</CODE></FONT></TD>
272<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#setValidityTime(edu.stanford.rt.credential.ValidityTime)">setValidityTime</A></B>(<A HREF="../../../../edu/stanford/rt/credential/ValidityTime.html">ValidityTime</A>&nbsp;validityTime)</CODE>
273
274<BR>
275&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method setValidityTime.</TD>
276</TR>
277<TR BGCOLOR="white" CLASS="TableRowColor">
278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
280<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html#toString(java.lang.String)">toString</A></B>(java.lang.String&nbsp;indent)</CODE>
281
282<BR>
283&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method toString.</TD>
284</TR>
285</TABLE>
286&nbsp;<A NAME="methods_inherited_from_class_edu.stanford.rt.credential.DomainSpecification"><!-- --></A>
287<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
288<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
289<TD><B>Methods inherited from class edu.stanford.rt.credential.<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></B></TD>
290</TR>
291<TR BGCOLOR="white" CLASS="TableRowColor">
292<TD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addRole(edu.stanford.rt.credential.RoleDeclaration)">addRole</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addType(edu.stanford.rt.datatype.DataType)">addType</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addType(java.lang.String)">addType</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getContext()">getContext</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getHashID()">getHashID</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getImportedDomains()">getImportedDomains</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getPrincipalType()">getPrincipalType</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getRoleDeclarations()">getRoleDeclarations</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getTypeDeclarations()">getTypeDeclarations</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#importDomain(java.lang.String, edu.stanford.rt.credential.ApplicationDomain)">importDomain</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#isComplete()">isComplete</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupImportedDomain(java.lang.String)">lookupImportedDomain</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupRoleDeclaration(java.lang.String, java.lang.String)">lookupRoleDeclaration</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupType(java.lang.String, java.lang.String)">lookupType</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setComplete()">setComplete</A>, <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setPrincipalType(edu.stanford.rt.datatype.SimpleType)">setPrincipalType</A></CODE></TD>
293</TR>
294</TABLE>
295&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
296<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
297<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
298<TD><B>Methods inherited from class java.lang.Object</B></TD>
299</TR>
300<TR BGCOLOR="white" CLASS="TableRowColor">
301<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
302</TR>
303</TABLE>
304&nbsp;
305<P>
306
307<!-- ============ FIELD DETAIL =========== -->
308
309<A NAME="field_detail"><!-- --></A>
310<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
311<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
312<TD COLSPAN=1><FONT SIZE="+2">
313<B>Field Detail</B></FONT></TD>
314</TR>
315</TABLE>
316
317<A NAME="issuer"><!-- --></A><H3>
318issuer</H3>
319<PRE>
320private <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> <B>issuer</B></PRE>
321<DL>
322<DD>Issuer of the associated Credential.
323<P>
324<DL>
325</DL>
326</DL>
327<HR>
328
329<A NAME="validityTime"><!-- --></A><H3>
330validityTime</H3>
331<PRE>
332private <A HREF="../../../../edu/stanford/rt/credential/ValidityTime.html">ValidityTime</A> <B>validityTime</B></PRE>
333<DL>
334<DD>validity time of the associated Credential.
335<P>
336<DL>
337</DL>
338</DL>
339<HR>
340
341<A NAME="principals"><!-- --></A><H3>
342principals</H3>
343<PRE>
344private java.util.HashMap <B>principals</B></PRE>
345<DL>
346<DD>maps String (principal shortName) to Principal object
347<P>
348<DL>
349</DL>
350</DL>
351<HR>
352
353<A NAME="roleDefinitions"><!-- --></A><H3>
354roleDefinitions</H3>
355<PRE>
356private java.util.ArrayList <B>roleDefinitions</B></PRE>
357<DL>
358<DD>list of role defined in this credential.
359<P>
360<DL>
361</DL>
362</DL>
363<HR>
364
365<A NAME="credentialElement"><!-- --></A><H3>
366credentialElement</H3>
367<PRE>
368private org.w3c.dom.Element <B>credentialElement</B></PRE>
369<DL>
370<DD>the XML Element of the associated Credential.
371<P>
372<DL>
373</DL>
374</DL>
375
376<!-- ========= CONSTRUCTOR DETAIL ======== -->
377
378<A NAME="constructor_detail"><!-- --></A>
379<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
380<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
381<TD COLSPAN=1><FONT SIZE="+2">
382<B>Constructor Detail</B></FONT></TD>
383</TR>
384</TABLE>
385
386<A NAME="CredentialDomain(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext)"><!-- --></A><H3>
387CredentialDomain</H3>
388<PRE>
389public <B>CredentialDomain</B>(org.w3c.dom.Element&nbsp;credentialElement,
390                        <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A>&nbsp;rtContext)
391                 throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
392<DL>
393<DD>Constructor for CredentialDomain.
394<P>
395</DL>
396
397<!-- ============ METHOD DETAIL ========== -->
398
399<A NAME="method_detail"><!-- --></A>
400<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
401<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
402<TD COLSPAN=1><FONT SIZE="+2">
403<B>Method Detail</B></FONT></TD>
404</TR>
405</TABLE>
406
407<A NAME="addPrincipal(java.lang.String, edu.stanford.rt.credential.Principal)"><!-- --></A><H3>
408addPrincipal</H3>
409<PRE>
410public void <B>addPrincipal</B>(java.lang.String&nbsp;shortName,
411                         <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A>&nbsp;principal)
412                  throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
413<DL>
414<DD>Method addPrincipal.
415<P>
416<DD><DL>
417<DT><B>Parameters:</B><DD><CODE>shortName</CODE> - <DD><CODE>principal</CODE> -
418<DT><B>Throws:</B>
419<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
420</DD>
421</DL>
422<HR>
423
424<A NAME="getPrincipal(java.lang.String)"><!-- --></A><H3>
425getPrincipal</H3>
426<PRE>
427public <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> <B>getPrincipal</B>(java.lang.String&nbsp;shortName)</PRE>
428<DL>
429<DD>Method getPrincipal.
430<P>
431<DD><DL>
432<DT><B>Parameters:</B><DD><CODE>shortName</CODE> -
433<DT><B>Returns:</B><DD>Principal
434  returns null if cannot find one.</DL>
435</DD>
436</DL>
437<HR>
438
439<A NAME="setIssuer(edu.stanford.rt.credential.Principal)"><!-- --></A><H3>
440setIssuer</H3>
441<PRE>
442public void <B>setIssuer</B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A>&nbsp;issuer)</PRE>
443<DL>
444<DD>Method setIssuer.
445<P>
446<DD><DL>
447<DT><B>Parameters:</B><DD><CODE>issuer</CODE> - </DL>
448</DD>
449</DL>
450<HR>
451
452<A NAME="getIssuer()"><!-- --></A><H3>
453getIssuer</H3>
454<PRE>
455public <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> <B>getIssuer</B>()</PRE>
456<DL>
457<DD>Returns the issuer.
458<P>
459<DD><DL>
460
461<DT><B>Returns:</B><DD>Principal</DL>
462</DD>
463</DL>
464<HR>
465
466<A NAME="getValidityTime()"><!-- --></A><H3>
467getValidityTime</H3>
468<PRE>
469public <A HREF="../../../../edu/stanford/rt/credential/ValidityTime.html">ValidityTime</A> <B>getValidityTime</B>()</PRE>
470<DL>
471<DD>Returns the validityTime.
472<P>
473<DD><DL>
474
475<DT><B>Returns:</B><DD>ValidityTime</DL>
476</DD>
477</DL>
478<HR>
479
480<A NAME="setValidityTime(edu.stanford.rt.credential.ValidityTime)"><!-- --></A><H3>
481setValidityTime</H3>
482<PRE>
483public void <B>setValidityTime</B>(<A HREF="../../../../edu/stanford/rt/credential/ValidityTime.html">ValidityTime</A>&nbsp;validityTime)</PRE>
484<DL>
485<DD>Method setValidityTime.
486<P>
487<DD><DL>
488<DT><B>Parameters:</B><DD><CODE>validityTime</CODE> - </DL>
489</DD>
490</DL>
491<HR>
492
493<A NAME="toString(java.lang.String)"><!-- --></A><H3>
494toString</H3>
495<PRE>
496public java.lang.String <B>toString</B>(java.lang.String&nbsp;indent)</PRE>
497<DL>
498<DD>Method toString.
499<P>
500<DD><DL>
501<DT><B>Parameters:</B><DD><CODE>indent</CODE> -
502<DT><B>Returns:</B><DD>String</DL>
503</DD>
504</DL>
505<HR>
506
507<A NAME="setHashID(edu.stanford.rt.credential.HashID)"><!-- --></A><H3>
508setHashID</H3>
509<PRE>
510public void <B>setHashID</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;hashID)
511               throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
512<DL>
513<DD><B>Description copied from class: <CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></CODE></B></DD>
514<DD>Sets the hashID.
515<P>
516<DD><DL>
517<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setHashID(edu.stanford.rt.credential.HashID)">setHashID</A></CODE> in class <CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></CODE></DL>
518</DD>
519<DD><DL>
520<DT><B>Parameters:</B><DD><CODE>hashID</CODE> - The hashID to set
521<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
522</DD>
523</DL>
524<HR>
525
526<A NAME="roleDefinitionIterator()"><!-- --></A><H3>
527roleDefinitionIterator</H3>
528<PRE>
529public java.util.Iterator <B>roleDefinitionIterator</B>()</PRE>
530<DL>
531<DD>Method roleDefinitionIterator.
532<P>
533<DD><DL>
534
535<DT><B>Returns:</B><DD>Iterator</DL>
536</DD>
537</DL>
538<HR>
539
540<A NAME="addRoleDefinition(edu.stanford.rt.credential.RoleDefinition)"><!-- --></A><H3>
541addRoleDefinition</H3>
542<PRE>
543public void <B>addRoleDefinition</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A>&nbsp;roleDefinition)</PRE>
544<DL>
545<DD>Add a new role definition.
546<P>
547<DD><DL>
548<DT><B>Parameters:</B><DD><CODE>roleDefinition</CODE> - The roleDefinition to set</DL>
549</DD>
550</DL>
551<HR>
552
553<A NAME="lookupType(java.lang.String)"><!-- --></A><H3>
554lookupType</H3>
555<PRE>
556public <A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A> <B>lookupType</B>(java.lang.String&nbsp;typeName)
557                    throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
558<DL>
559<DD>Method lookupType.
560      Look up the DataType declaration by given typeName in the current domain.
561  if cannot find one then look it up in system domain.
562<P>
563<DD><DL>
564<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupType(java.lang.String)">lookupType</A></CODE> in class <CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></CODE></DL>
565</DD>
566<DD><DL>
567<DT><B>Parameters:</B><DD><CODE>typeName</CODE> -
568<DT><B>Returns:</B><DD>DataType
569<DT><B>Throws:</B>
570<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find a DataType declaration by the given name.</DL>
571</DD>
572</DL>
573<HR>
574
575<A NAME="lookupRoleDeclaration(java.lang.String)"><!-- --></A><H3>
576lookupRoleDeclaration</H3>
577<PRE>
578public <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>lookupRoleDeclaration</B>(java.lang.String&nbsp;roleName)
579                                      throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
580<DL>
581<DD>Method lookupRoleDeclaration.
582      Look up the role declaration by given roleName in the current domain.
583  If cannot find one then look it up in system domain.
584<P>
585<DD><DL>
586<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupRoleDeclaration(java.lang.String)">lookupRoleDeclaration</A></CODE> in class <CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></CODE></DL>
587</DD>
588<DD><DL>
589<DT><B>Parameters:</B><DD><CODE>roleName</CODE> -
590<DT><B>Returns:</B><DD>RoleDeclaration
591<DT><B>Throws:</B>
592<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find one.</DL>
593</DD>
594</DL>
595<!-- ========= END OF CLASS DATA ========= -->
596<HR>
597
598<!-- ========== START OF NAVBAR ========== -->
599<A NAME="navbar_bottom"><!-- --></A>
600<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
601<TR>
602<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
603<A NAME="navbar_bottom_firstrow"><!-- --></A>
604<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
605  <TR ALIGN="center" VALIGN="top">
606  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
607  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
608  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
609  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CredentialDomain.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
610  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
611  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
612  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
613  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
614  </TR>
615</TABLE>
616</TD>
617<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
618</EM>
619</TD>
620</TR>
621
622<TR>
623<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
624&nbsp;<A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html"><B>PREV CLASS</B></A>&nbsp;
625&nbsp;<A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html"><B>NEXT CLASS</B></A></FONT></TD>
626<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
627  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
628&nbsp;<A HREF="CredentialDomain.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
629&nbsp;
630<SCRIPT>
631  <!--
632  if(window==top) {
633    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
634  }
635  //-->
636</SCRIPT>
637<NOSCRIPT>
638<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
639</NOSCRIPT>
640</FONT></TD>
641</TR>
642<TR>
643<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
644  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>
645<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
646DETAIL:&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>
647</TR>
648</TABLE>
649<!-- =========== END OF NAVBAR =========== -->
650
651<HR>
652
653</BODY>
654</HTML>
Note: See TracBrowser for help on using the repository browser.