[8780cbec] | 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:57 PDT 2002 --> |
---|
| 6 | <TITLE> |
---|
| 7 | RoleDeclaration |
---|
| 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="RoleDeclaration"; |
---|
| 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/RoleDeclaration.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/Role.html"><B>PREV CLASS</B></A> |
---|
| 46 | <A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.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="RoleDeclaration.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 RoleDeclaration</H2> |
---|
| 79 | <PRE> |
---|
| 80 | java.lang.Object |
---|
| 81 | | |
---|
| 82 | +--<B>edu.stanford.rt.credential.RoleDeclaration</B> |
---|
| 83 | </PRE> |
---|
| 84 | <DL> |
---|
| 85 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../edu/stanford/rt/util/Constants.html">Constants</A>, java.io.Serializable</DD> |
---|
| 86 | </DL> |
---|
| 87 | <HR> |
---|
| 88 | <DL> |
---|
| 89 | <DT>public class <B>RoleDeclaration</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../edu/stanford/rt/util/Constants.html">Constants</A>, java.io.Serializable</DL> |
---|
| 90 | |
---|
| 91 | <P> |
---|
| 92 | <DL> |
---|
| 93 | <DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu<br> |
---|
| 94 | |
---|
| 95 | All the information about a declared role. In RTML, this is |
---|
| 96 | represented by a <code>RoleDeclaration</code> element in a |
---|
| 97 | <code>ApplicationDomainSpecification</code> document. |
---|
| 98 | |
---|
| 99 | Issue: Do not support identity yet.</DD> |
---|
| 100 | </DD> |
---|
| 101 | <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html" TARGET="edu.stanford.rt.credential.RoleDeclaration">Serialized Form</A></DL> |
---|
| 102 | <HR> |
---|
| 103 | |
---|
| 104 | <P> |
---|
| 105 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 109 | |
---|
| 110 | <A NAME="field_summary"><!-- --></A> |
---|
| 111 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 112 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 113 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
| 114 | <B>Field Summary</B></FONT></TD> |
---|
| 115 | </TR> |
---|
| 116 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 117 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 118 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD> |
---|
| 119 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#baseRole">baseRole</A></B></CODE> |
---|
| 120 | |
---|
| 121 | <BR> |
---|
| 122 | BaseRole Element for Restriction, Extension, Projection.</TD> |
---|
| 123 | </TR> |
---|
| 124 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 125 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 126 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></CODE></FONT></TD> |
---|
| 127 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#context">context</A></B></CODE> |
---|
| 128 | |
---|
| 129 | <BR> |
---|
| 130 | Role declaration context.</TD> |
---|
| 131 | </TR> |
---|
| 132 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 133 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 134 | <CODE>private int</CODE></FONT></TD> |
---|
| 135 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#declarationType">declarationType</A></B></CODE> |
---|
| 136 | |
---|
| 137 | <BR> |
---|
| 138 | Declaration type: Restriction, Extension, Projection or Plain.</TD> |
---|
| 139 | </TR> |
---|
| 140 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 141 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 142 | <CODE>static int</CODE></FONT></TD> |
---|
| 143 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#DEFAULT_ISSUER_TYPE">DEFAULT_ISSUER_TYPE</A></B></CODE> |
---|
| 144 | |
---|
| 145 | <BR> |
---|
| 146 | Default issuer traces type: rule</TD> |
---|
| 147 | </TR> |
---|
| 148 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 149 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 150 | <CODE>static int</CODE></FONT></TD> |
---|
| 151 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#DEFAULT_SUBJECT_TYPE">DEFAULT_SUBJECT_TYPE</A></B></CODE> |
---|
| 152 | |
---|
| 153 | <BR> |
---|
| 154 | Defualt issuer traces type: fact.</TD> |
---|
| 155 | </TR> |
---|
| 156 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 158 | <CODE>private int</CODE></FONT></TD> |
---|
| 159 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#dimension">dimension</A></B></CODE> |
---|
| 160 | |
---|
| 161 | <BR> |
---|
| 162 | Default is 1 <br> |
---|
| 163 | In RTML: attribute <code>dimension</code>.</TD> |
---|
| 164 | </TR> |
---|
| 165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 167 | <CODE>private static int</CODE></FONT></TD> |
---|
| 168 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#EXTENSION">EXTENSION</A></B></CODE> |
---|
| 169 | |
---|
| 170 | <BR> |
---|
| 171 | </TD> |
---|
| 172 | </TR> |
---|
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 175 | <CODE>private boolean</CODE></FONT></TD> |
---|
| 176 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#isIdentity">isIdentity</A></B></CODE> |
---|
| 177 | |
---|
| 178 | <BR> |
---|
| 179 | Default is false.</TD> |
---|
| 180 | </TR> |
---|
| 181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 183 | <CODE>private int</CODE></FONT></TD> |
---|
| 184 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#issuerTracesType">issuerTracesType</A></B></CODE> |
---|
| 185 | |
---|
| 186 | <BR> |
---|
| 187 | Default is DEFAULT_ISSUER_TYPE <br> |
---|
| 188 | In RTML: attribute <code>issuerTracesType</code>.</TD> |
---|
| 189 | </TR> |
---|
| 190 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 192 | <CODE>static java.util.HashMap</CODE></FONT></TD> |
---|
| 193 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#issuerTracesTypes">issuerTracesTypes</A></B></CODE> |
---|
| 194 | |
---|
| 195 | <BR> |
---|
| 196 | Issuer traces types</TD> |
---|
| 197 | </TR> |
---|
| 198 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 199 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 200 | <CODE>private java.lang.String</CODE></FONT></TD> |
---|
| 201 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#name">name</A></B></CODE> |
---|
| 202 | |
---|
| 203 | <BR> |
---|
| 204 | Role name.</TD> |
---|
| 205 | </TR> |
---|
| 206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 208 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD> |
---|
| 209 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#parameterDeclarations">parameterDeclarations</A></B></CODE> |
---|
| 210 | |
---|
| 211 | <BR> |
---|
| 212 | Maps String (parameter name) to DataType (parameter type).</TD> |
---|
| 213 | </TR> |
---|
| 214 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 215 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 216 | <CODE>private static int</CODE></FONT></TD> |
---|
| 217 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#PLAIN">PLAIN</A></B></CODE> |
---|
| 218 | |
---|
| 219 | <BR> |
---|
| 220 | </TD> |
---|
| 221 | </TR> |
---|
| 222 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 224 | <CODE>private java.util.HashMap</CODE></FONT></TD> |
---|
| 225 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#positionToPrefixes">positionToPrefixes</A></B></CODE> |
---|
| 226 | |
---|
| 227 | <BR> |
---|
| 228 | </TD> |
---|
| 229 | </TR> |
---|
| 230 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 232 | <CODE>private java.util.HashMap</CODE></FONT></TD> |
---|
| 233 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#prefixToPositions">prefixToPositions</A></B></CODE> |
---|
| 234 | |
---|
| 235 | <BR> |
---|
| 236 | This map keeps track of the ordersing of the flattend name-prefixes.</TD> |
---|
| 237 | </TR> |
---|
| 238 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 239 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 240 | <CODE>private static int</CODE></FONT></TD> |
---|
| 241 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#PROJECTION">PROJECTION</A></B></CODE> |
---|
| 242 | |
---|
| 243 | <BR> |
---|
| 244 | </TD> |
---|
| 245 | </TR> |
---|
| 246 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 247 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 248 | <CODE>private static int</CODE></FONT></TD> |
---|
| 249 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#RESTRICTION">RESTRICTION</A></B></CODE> |
---|
| 250 | |
---|
| 251 | <BR> |
---|
| 252 | </TD> |
---|
| 253 | </TR> |
---|
| 254 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 255 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 256 | <CODE>private int</CODE></FONT></TD> |
---|
| 257 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#subjectTracesType">subjectTracesType</A></B></CODE> |
---|
| 258 | |
---|
| 259 | <BR> |
---|
| 260 | Default is DEFAULT_SUBJECT_TYPE <br> |
---|
| 261 | In RTML: attribute <code>subjectTracesType</code>.</TD> |
---|
| 262 | </TR> |
---|
| 263 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 264 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 265 | <CODE>static java.util.HashMap</CODE></FONT></TD> |
---|
| 266 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#subjectTracesTypes">subjectTracesTypes</A></B></CODE> |
---|
| 267 | |
---|
| 268 | <BR> |
---|
| 269 | Subject traces types</TD> |
---|
| 270 | </TR> |
---|
| 271 | </TABLE> |
---|
| 272 | <A NAME="fields_inherited_from_class_edu.stanford.rt.util.Constants"><!-- --></A> |
---|
| 273 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 274 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 275 | <TD><B>Fields inherited from interface edu.stanford.rt.util.<A HREF="../../../../edu/stanford/rt/util/Constants.html">Constants</A></B></TD> |
---|
| 276 | </TR> |
---|
| 277 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 278 | <TD><CODE><A HREF="../../../../edu/stanford/rt/util/Constants.html#COLON">COLON</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#illegal_value_for">illegal_value_for</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#improper_sub_element_for">improper_sub_element_for</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#INDENT">INDENT</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#ISSUER_TRACES_ALL">ISSUER_TRACES_ALL</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#ISSUER_TRACES_DEF">ISSUER_TRACES_DEF</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#ISSUER_TRACES_NONE">ISSUER_TRACES_NONE</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#ISSUER_TRACES_RULE">ISSUER_TRACES_RULE</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#missing_attr_value">missing_attr_value</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#no_support_for">no_support_for</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#SUBJECT_TRACES_ALL">SUBJECT_TRACES_ALL</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#SUBJECT_TRACES_FACT">SUBJECT_TRACES_FACT</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#SUBJECT_TRACES_NONE">SUBJECT_TRACES_NONE</A></CODE></TD> |
---|
| 279 | </TR> |
---|
| 280 | </TABLE> |
---|
| 281 | |
---|
| 282 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 283 | |
---|
| 284 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 285 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 286 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 287 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
| 288 | <B>Constructor Summary</B></FONT></TD> |
---|
| 289 | </TR> |
---|
| 290 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 292 | <CODE>private </CODE></FONT></TD> |
---|
| 293 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#RoleDeclaration(edu.stanford.rt.credential.DomainSpecification, java.lang.String, int, int, int, boolean, int, edu.stanford.rt.credential.RoleDeclaration, edu.stanford.rt.credential.OrderedMap)">RoleDeclaration</A></B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 294 | java.lang.String name, |
---|
| 295 | int issuerTracesType, |
---|
| 296 | int subjectTracesType, |
---|
| 297 | int dimension, |
---|
| 298 | boolean isIdentity, |
---|
| 299 | int declarationType, |
---|
| 300 | <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> baseRole, |
---|
| 301 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> parameterDeclarations)</CODE> |
---|
| 302 | |
---|
| 303 | <BR> |
---|
| 304 | Private contructor ensures that no one else can contruct a RoleDeclaration |
---|
| 305 | object and the state of a RoleDeclaration object is complete (unmodifiable) |
---|
| 306 | once it is created.</TD> |
---|
| 307 | </TR> |
---|
| 308 | </TABLE> |
---|
| 309 | |
---|
| 310 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 311 | |
---|
| 312 | <A NAME="method_summary"><!-- --></A> |
---|
| 313 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 314 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 315 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
| 316 | <B>Method Summary</B></FONT></TD> |
---|
| 317 | </TR> |
---|
| 318 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 319 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 320 | <CODE>private void</CODE></FONT></TD> |
---|
| 321 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#calculatePrefixPositions(java.lang.StringBuffer, int, edu.stanford.rt.credential.OrderedMap, java.util.HashMap, java.util.HashMap)">calculatePrefixPositions</A></B>(java.lang.StringBuffer prefix, |
---|
| 322 | int position, |
---|
| 323 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> paramDeclarations, |
---|
| 324 | java.util.HashMap prefixToPositionMap, |
---|
| 325 | java.util.HashMap positionToPrefixMap)</CODE> |
---|
| 326 | |
---|
| 327 | <BR> |
---|
| 328 | Method calculatePrefixPositions.</TD> |
---|
| 329 | </TR> |
---|
| 330 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 331 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 332 | <CODE>static <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD> |
---|
| 333 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#createExtensionRole(edu.stanford.rt.credential.DomainSpecification, java.lang.String, boolean, edu.stanford.rt.credential.RoleDeclaration, edu.stanford.rt.credential.OrderedMap)">createExtensionRole</A></B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 334 | java.lang.String name, |
---|
| 335 | boolean isIdentity, |
---|
| 336 | <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> baseRole, |
---|
| 337 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> newParameters)</CODE> |
---|
| 338 | |
---|
| 339 | <BR> |
---|
| 340 | Method createExtensionRole.</TD> |
---|
| 341 | </TR> |
---|
| 342 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 343 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 344 | <CODE>static <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD> |
---|
| 345 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#createPlainRole(edu.stanford.rt.credential.DomainSpecification, java.lang.String, int, int, int, boolean, edu.stanford.rt.credential.OrderedMap)">createPlainRole</A></B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 346 | java.lang.String name, |
---|
| 347 | int issuerTracesType, |
---|
| 348 | int subjectTracesType, |
---|
| 349 | int dimension, |
---|
| 350 | boolean isIdentity, |
---|
| 351 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> newParameters)</CODE> |
---|
| 352 | |
---|
| 353 | <BR> |
---|
| 354 | Method createPlainRole.</TD> |
---|
| 355 | </TR> |
---|
| 356 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 357 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 358 | <CODE>static <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD> |
---|
| 359 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#createProjectionRole(edu.stanford.rt.credential.DomainSpecification, java.lang.String, boolean, edu.stanford.rt.credential.RoleDeclaration, java.lang.String[])">createProjectionRole</A></B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 360 | java.lang.String name, |
---|
| 361 | boolean isIdentity, |
---|
| 362 | <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> baseRole, |
---|
| 363 | java.lang.String[] parameterNames)</CODE> |
---|
| 364 | |
---|
| 365 | <BR> |
---|
| 366 | Method createProjectionRole.</TD> |
---|
| 367 | </TR> |
---|
| 368 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 369 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 370 | <CODE>static <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD> |
---|
| 371 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#createRestrictionRole(edu.stanford.rt.credential.DomainSpecification, java.lang.String, boolean, edu.stanford.rt.credential.RoleDeclaration, edu.stanford.rt.credential.OrderedMap)">createRestrictionRole</A></B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 372 | java.lang.String name, |
---|
| 373 | boolean isIdentity, |
---|
| 374 | <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> baseRole, |
---|
| 375 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> newParameters)</CODE> |
---|
| 376 | |
---|
| 377 | <BR> |
---|
| 378 | Method createRestrictionRole.</TD> |
---|
| 379 | </TR> |
---|
| 380 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 381 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 382 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD> |
---|
| 383 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getBaseRole()">getBaseRole</A></B>()</CODE> |
---|
| 384 | |
---|
| 385 | <BR> |
---|
| 386 | Returns the base role object.</TD> |
---|
| 387 | </TR> |
---|
| 388 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 389 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 390 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></CODE></FONT></TD> |
---|
| 391 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getContext()">getContext</A></B>()</CODE> |
---|
| 392 | |
---|
| 393 | <BR> |
---|
| 394 | Returns the role declaration context.</TD> |
---|
| 395 | </TR> |
---|
| 396 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 397 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 398 | <CODE> int</CODE></FONT></TD> |
---|
| 399 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getDimension()">getDimension</A></B>()</CODE> |
---|
| 400 | |
---|
| 401 | <BR> |
---|
| 402 | Returns the value for <code>dimension</code>.</TD> |
---|
| 403 | </TR> |
---|
| 404 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 405 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 406 | <CODE> int</CODE></FONT></TD> |
---|
| 407 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getIssuerTracesType()">getIssuerTracesType</A></B>()</CODE> |
---|
| 408 | |
---|
| 409 | <BR> |
---|
| 410 | Returns the value for <code>issuerTracesType</code>.</TD> |
---|
| 411 | </TR> |
---|
| 412 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 413 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 414 | <CODE>private java.lang.String</CODE></FONT></TD> |
---|
| 415 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getIssuerTracesTypeString(int)">getIssuerTracesTypeString</A></B>(int issuerTracesType)</CODE> |
---|
| 416 | |
---|
| 417 | <BR> |
---|
| 418 | </TD> |
---|
| 419 | </TR> |
---|
| 420 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 421 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 422 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 423 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getName()">getName</A></B>()</CODE> |
---|
| 424 | |
---|
| 425 | <BR> |
---|
| 426 | Returns the role name.</TD> |
---|
| 427 | </TR> |
---|
| 428 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 429 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 430 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD> |
---|
| 431 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getParameterDeclarations()">getParameterDeclarations</A></B>()</CODE> |
---|
| 432 | |
---|
| 433 | <BR> |
---|
| 434 | Method getParameterDeclarations.</TD> |
---|
| 435 | </TR> |
---|
| 436 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 437 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 438 | <CODE> <A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A></CODE></FONT></TD> |
---|
| 439 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getParameterType(java.lang.String)">getParameterType</A></B>(java.lang.String paramName)</CODE> |
---|
| 440 | |
---|
| 441 | <BR> |
---|
| 442 | Method getParameterType.</TD> |
---|
| 443 | </TR> |
---|
| 444 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 445 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 446 | <CODE> int</CODE></FONT></TD> |
---|
| 447 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getPosition(java.lang.String)">getPosition</A></B>(java.lang.String prefix)</CODE> |
---|
| 448 | |
---|
| 449 | <BR> |
---|
| 450 | Method getPosition.</TD> |
---|
| 451 | </TR> |
---|
| 452 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 453 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 454 | <CODE> java.util.Map</CODE></FONT></TD> |
---|
| 455 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getPositionToPrefixes()">getPositionToPrefixes</A></B>()</CODE> |
---|
| 456 | |
---|
| 457 | <BR> |
---|
| 458 | Returns a unmodifiable view of position-to-prefix map.</TD> |
---|
| 459 | </TR> |
---|
| 460 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 461 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 462 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 463 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getPrefix(int)">getPrefix</A></B>(int position)</CODE> |
---|
| 464 | |
---|
| 465 | <BR> |
---|
| 466 | Method getPrefix.</TD> |
---|
| 467 | </TR> |
---|
| 468 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 469 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 470 | <CODE> java.util.Map</CODE></FONT></TD> |
---|
| 471 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getPrefixToPositions()">getPrefixToPositions</A></B>()</CODE> |
---|
| 472 | |
---|
| 473 | <BR> |
---|
| 474 | Returns a unmodifiable view of prefix-to-position map.</TD> |
---|
| 475 | </TR> |
---|
| 476 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 477 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 478 | <CODE> int</CODE></FONT></TD> |
---|
| 479 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getSubjectTracesType()">getSubjectTracesType</A></B>()</CODE> |
---|
| 480 | |
---|
| 481 | <BR> |
---|
| 482 | Returns the value for <code>subjectTracesType</code>.</TD> |
---|
| 483 | </TR> |
---|
| 484 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 485 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 486 | <CODE>private java.lang.String</CODE></FONT></TD> |
---|
| 487 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getSubjectTracesTypeString(int)">getSubjectTracesTypeString</A></B>(int subjectTracesType)</CODE> |
---|
| 488 | |
---|
| 489 | <BR> |
---|
| 490 | </TD> |
---|
| 491 | </TR> |
---|
| 492 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 493 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 494 | <CODE> int</CODE></FONT></TD> |
---|
| 495 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#getTotalPrefixes()">getTotalPrefixes</A></B>()</CODE> |
---|
| 496 | |
---|
| 497 | <BR> |
---|
| 498 | Returns the total number of the prefixes in the map.</TD> |
---|
| 499 | </TR> |
---|
| 500 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 501 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 502 | <CODE> boolean</CODE></FONT></TD> |
---|
| 503 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#isIdentity()">isIdentity</A></B>()</CODE> |
---|
| 504 | |
---|
| 505 | <BR> |
---|
| 506 | Checks whether this role is an identity-based role.</TD> |
---|
| 507 | </TR> |
---|
| 508 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 509 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 510 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 511 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html#toString(java.lang.String)">toString</A></B>(java.lang.String indent)</CODE> |
---|
| 512 | |
---|
| 513 | <BR> |
---|
| 514 | Method toString.</TD> |
---|
| 515 | </TR> |
---|
| 516 | </TABLE> |
---|
| 517 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 518 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 519 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 520 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
---|
| 521 | </TR> |
---|
| 522 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 523 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
---|
| 524 | </TR> |
---|
| 525 | </TABLE> |
---|
| 526 | |
---|
| 527 | <P> |
---|
| 528 | |
---|
| 529 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 530 | |
---|
| 531 | <A NAME="field_detail"><!-- --></A> |
---|
| 532 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 533 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 534 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
| 535 | <B>Field Detail</B></FONT></TD> |
---|
| 536 | </TR> |
---|
| 537 | </TABLE> |
---|
| 538 | |
---|
| 539 | <A NAME="issuerTracesTypes"><!-- --></A><H3> |
---|
| 540 | issuerTracesTypes</H3> |
---|
| 541 | <PRE> |
---|
| 542 | public static java.util.HashMap <B>issuerTracesTypes</B></PRE> |
---|
| 543 | <DL> |
---|
| 544 | <DD>Issuer traces types |
---|
| 545 | <P> |
---|
| 546 | <DL> |
---|
| 547 | </DL> |
---|
| 548 | </DL> |
---|
| 549 | <HR> |
---|
| 550 | |
---|
| 551 | <A NAME="subjectTracesTypes"><!-- --></A><H3> |
---|
| 552 | subjectTracesTypes</H3> |
---|
| 553 | <PRE> |
---|
| 554 | public static java.util.HashMap <B>subjectTracesTypes</B></PRE> |
---|
| 555 | <DL> |
---|
| 556 | <DD>Subject traces types |
---|
| 557 | <P> |
---|
| 558 | <DL> |
---|
| 559 | </DL> |
---|
| 560 | </DL> |
---|
| 561 | <HR> |
---|
| 562 | |
---|
| 563 | <A NAME="DEFAULT_ISSUER_TYPE"><!-- --></A><H3> |
---|
| 564 | DEFAULT_ISSUER_TYPE</H3> |
---|
| 565 | <PRE> |
---|
| 566 | public static int <B>DEFAULT_ISSUER_TYPE</B></PRE> |
---|
| 567 | <DL> |
---|
| 568 | <DD>Default issuer traces type: rule |
---|
| 569 | <P> |
---|
| 570 | <DL> |
---|
| 571 | </DL> |
---|
| 572 | </DL> |
---|
| 573 | <HR> |
---|
| 574 | |
---|
| 575 | <A NAME="DEFAULT_SUBJECT_TYPE"><!-- --></A><H3> |
---|
| 576 | DEFAULT_SUBJECT_TYPE</H3> |
---|
| 577 | <PRE> |
---|
| 578 | public static int <B>DEFAULT_SUBJECT_TYPE</B></PRE> |
---|
| 579 | <DL> |
---|
| 580 | <DD>Defualt issuer traces type: fact. |
---|
| 581 | <P> |
---|
| 582 | <DL> |
---|
| 583 | </DL> |
---|
| 584 | </DL> |
---|
| 585 | <HR> |
---|
| 586 | |
---|
| 587 | <A NAME="context"><!-- --></A><H3> |
---|
| 588 | context</H3> |
---|
| 589 | <PRE> |
---|
| 590 | private <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> <B>context</B></PRE> |
---|
| 591 | <DL> |
---|
| 592 | <DD>Role declaration context. |
---|
| 593 | <br> |
---|
| 594 | The <code>DomainSpecification</code> in which the current role |
---|
| 595 | is declared. |
---|
| 596 | <P> |
---|
| 597 | <DL> |
---|
| 598 | </DL> |
---|
| 599 | </DL> |
---|
| 600 | <HR> |
---|
| 601 | |
---|
| 602 | <A NAME="name"><!-- --></A><H3> |
---|
| 603 | name</H3> |
---|
| 604 | <PRE> |
---|
| 605 | private java.lang.String <B>name</B></PRE> |
---|
| 606 | <DL> |
---|
| 607 | <DD>Role name. <br> |
---|
| 608 | In RTML: attribute <code>name</code>. |
---|
| 609 | <P> |
---|
| 610 | <DL> |
---|
| 611 | </DL> |
---|
| 612 | </DL> |
---|
| 613 | <HR> |
---|
| 614 | |
---|
| 615 | <A NAME="issuerTracesType"><!-- --></A><H3> |
---|
| 616 | issuerTracesType</H3> |
---|
| 617 | <PRE> |
---|
| 618 | private int <B>issuerTracesType</B></PRE> |
---|
| 619 | <DL> |
---|
| 620 | <DD>Default is DEFAULT_ISSUER_TYPE <br> |
---|
| 621 | In RTML: attribute <code>issuerTracesType</code>. |
---|
| 622 | <P> |
---|
| 623 | <DL> |
---|
| 624 | </DL> |
---|
| 625 | </DL> |
---|
| 626 | <HR> |
---|
| 627 | |
---|
| 628 | <A NAME="subjectTracesType"><!-- --></A><H3> |
---|
| 629 | subjectTracesType</H3> |
---|
| 630 | <PRE> |
---|
| 631 | private int <B>subjectTracesType</B></PRE> |
---|
| 632 | <DL> |
---|
| 633 | <DD>Default is DEFAULT_SUBJECT_TYPE <br> |
---|
| 634 | In RTML: attribute <code>subjectTracesType</code>. |
---|
| 635 | <P> |
---|
| 636 | <DL> |
---|
| 637 | </DL> |
---|
| 638 | </DL> |
---|
| 639 | <HR> |
---|
| 640 | |
---|
| 641 | <A NAME="dimension"><!-- --></A><H3> |
---|
| 642 | dimension</H3> |
---|
| 643 | <PRE> |
---|
| 644 | private int <B>dimension</B></PRE> |
---|
| 645 | <DL> |
---|
| 646 | <DD>Default is 1 <br> |
---|
| 647 | In RTML: attribute <code>dimension</code>. |
---|
| 648 | <P> |
---|
| 649 | <DL> |
---|
| 650 | </DL> |
---|
| 651 | </DL> |
---|
| 652 | <HR> |
---|
| 653 | |
---|
| 654 | <A NAME="isIdentity"><!-- --></A><H3> |
---|
| 655 | isIdentity</H3> |
---|
| 656 | <PRE> |
---|
| 657 | private boolean <B>isIdentity</B></PRE> |
---|
| 658 | <DL> |
---|
| 659 | <DD>Default is false. <br> |
---|
| 660 | In RTML: attribute <code>isIdentity</code>. |
---|
| 661 | <P> |
---|
| 662 | <DL> |
---|
| 663 | </DL> |
---|
| 664 | </DL> |
---|
| 665 | <HR> |
---|
| 666 | |
---|
| 667 | <A NAME="parameterDeclarations"><!-- --></A><H3> |
---|
| 668 | parameterDeclarations</H3> |
---|
| 669 | <PRE> |
---|
| 670 | private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>parameterDeclarations</B></PRE> |
---|
| 671 | <DL> |
---|
| 672 | <DD>Maps String (parameter name) to DataType (parameter type). |
---|
| 673 | <P> |
---|
| 674 | <DL> |
---|
| 675 | </DL> |
---|
| 676 | </DL> |
---|
| 677 | <HR> |
---|
| 678 | |
---|
| 679 | <A NAME="declarationType"><!-- --></A><H3> |
---|
| 680 | declarationType</H3> |
---|
| 681 | <PRE> |
---|
| 682 | private int <B>declarationType</B></PRE> |
---|
| 683 | <DL> |
---|
| 684 | <DD>Declaration type: Restriction, Extension, Projection or Plain. |
---|
| 685 | <P> |
---|
| 686 | <DL> |
---|
| 687 | </DL> |
---|
| 688 | </DL> |
---|
| 689 | <HR> |
---|
| 690 | |
---|
| 691 | <A NAME="baseRole"><!-- --></A><H3> |
---|
| 692 | baseRole</H3> |
---|
| 693 | <PRE> |
---|
| 694 | private <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>baseRole</B></PRE> |
---|
| 695 | <DL> |
---|
| 696 | <DD>BaseRole Element for Restriction, Extension, Projection. |
---|
| 697 | <P> |
---|
| 698 | <DL> |
---|
| 699 | </DL> |
---|
| 700 | </DL> |
---|
| 701 | <HR> |
---|
| 702 | |
---|
| 703 | <A NAME="prefixToPositions"><!-- --></A><H3> |
---|
| 704 | prefixToPositions</H3> |
---|
| 705 | <PRE> |
---|
| 706 | private java.util.HashMap <B>prefixToPositions</B></PRE> |
---|
| 707 | <DL> |
---|
| 708 | <DD>This map keeps track of the ordersing of the flattend name-prefixes. |
---|
| 709 | A name-prefix is colon-separated name concatenation. |
---|
| 710 | <P> |
---|
| 711 | <DL> |
---|
| 712 | </DL> |
---|
| 713 | </DL> |
---|
| 714 | <HR> |
---|
| 715 | |
---|
| 716 | <A NAME="positionToPrefixes"><!-- --></A><H3> |
---|
| 717 | positionToPrefixes</H3> |
---|
| 718 | <PRE> |
---|
| 719 | private java.util.HashMap <B>positionToPrefixes</B></PRE> |
---|
| 720 | <DL> |
---|
| 721 | <DL> |
---|
| 722 | </DL> |
---|
| 723 | </DL> |
---|
| 724 | <HR> |
---|
| 725 | |
---|
| 726 | <A NAME="RESTRICTION"><!-- --></A><H3> |
---|
| 727 | RESTRICTION</H3> |
---|
| 728 | <PRE> |
---|
| 729 | private static final int <B>RESTRICTION</B></PRE> |
---|
| 730 | <DL> |
---|
| 731 | <DL> |
---|
| 732 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#edu.stanford.rt.credential.RoleDeclaration.RESTRICTION">Constant Field Values</A></DL> |
---|
| 733 | </DL> |
---|
| 734 | <HR> |
---|
| 735 | |
---|
| 736 | <A NAME="EXTENSION"><!-- --></A><H3> |
---|
| 737 | EXTENSION</H3> |
---|
| 738 | <PRE> |
---|
| 739 | private static final int <B>EXTENSION</B></PRE> |
---|
| 740 | <DL> |
---|
| 741 | <DL> |
---|
| 742 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#edu.stanford.rt.credential.RoleDeclaration.EXTENSION">Constant Field Values</A></DL> |
---|
| 743 | </DL> |
---|
| 744 | <HR> |
---|
| 745 | |
---|
| 746 | <A NAME="PROJECTION"><!-- --></A><H3> |
---|
| 747 | PROJECTION</H3> |
---|
| 748 | <PRE> |
---|
| 749 | private static final int <B>PROJECTION</B></PRE> |
---|
| 750 | <DL> |
---|
| 751 | <DL> |
---|
| 752 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#edu.stanford.rt.credential.RoleDeclaration.PROJECTION">Constant Field Values</A></DL> |
---|
| 753 | </DL> |
---|
| 754 | <HR> |
---|
| 755 | |
---|
| 756 | <A NAME="PLAIN"><!-- --></A><H3> |
---|
| 757 | PLAIN</H3> |
---|
| 758 | <PRE> |
---|
| 759 | private static final int <B>PLAIN</B></PRE> |
---|
| 760 | <DL> |
---|
| 761 | <DL> |
---|
| 762 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#edu.stanford.rt.credential.RoleDeclaration.PLAIN">Constant Field Values</A></DL> |
---|
| 763 | </DL> |
---|
| 764 | |
---|
| 765 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 766 | |
---|
| 767 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 768 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 769 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 770 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
| 771 | <B>Constructor Detail</B></FONT></TD> |
---|
| 772 | </TR> |
---|
| 773 | </TABLE> |
---|
| 774 | |
---|
| 775 | <A NAME="RoleDeclaration(edu.stanford.rt.credential.DomainSpecification, java.lang.String, int, int, int, boolean, int, edu.stanford.rt.credential.RoleDeclaration, edu.stanford.rt.credential.OrderedMap)"><!-- --></A><H3> |
---|
| 776 | RoleDeclaration</H3> |
---|
| 777 | <PRE> |
---|
| 778 | private <B>RoleDeclaration</B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 779 | java.lang.String name, |
---|
| 780 | int issuerTracesType, |
---|
| 781 | int subjectTracesType, |
---|
| 782 | int dimension, |
---|
| 783 | boolean isIdentity, |
---|
| 784 | int declarationType, |
---|
| 785 | <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> baseRole, |
---|
| 786 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> parameterDeclarations) |
---|
| 787 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
| 788 | <DL> |
---|
| 789 | <DD>Private contructor ensures that no one else can contruct a RoleDeclaration |
---|
| 790 | object and the state of a RoleDeclaration object is complete (unmodifiable) |
---|
| 791 | once it is created. <br> |
---|
| 792 | And the newly created RoleDeclaration's parameter-postion mapping is also |
---|
| 793 | calculated. |
---|
| 794 | <P> |
---|
| 795 | <DT><B>Parameters:</B><DD><CODE>context</CODE> - <DD><CODE>name</CODE> - <DD><CODE>issuerTracesType</CODE> - <DD><CODE>subjectTracesType</CODE> - <DD><CODE>dimension</CODE> - <DD><CODE>isIdentity</CODE> - <DD><CODE>declarationType</CODE> - <DD><CODE>baseRole</CODE> - <DD><CODE>parameterDeclarations</CODE> - |
---|
| 796 | <DT><B>Throws:</B> |
---|
| 797 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
| 798 | |
---|
| 799 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 800 | |
---|
| 801 | <A NAME="method_detail"><!-- --></A> |
---|
| 802 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 803 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 804 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
| 805 | <B>Method Detail</B></FONT></TD> |
---|
| 806 | </TR> |
---|
| 807 | </TABLE> |
---|
| 808 | |
---|
| 809 | <A NAME="createRestrictionRole(edu.stanford.rt.credential.DomainSpecification, java.lang.String, boolean, edu.stanford.rt.credential.RoleDeclaration, edu.stanford.rt.credential.OrderedMap)"><!-- --></A><H3> |
---|
| 810 | createRestrictionRole</H3> |
---|
| 811 | <PRE> |
---|
| 812 | public static <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>createRestrictionRole</B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 813 | java.lang.String name, |
---|
| 814 | boolean isIdentity, |
---|
| 815 | <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> baseRole, |
---|
| 816 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> newParameters) |
---|
| 817 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
| 818 | <DL> |
---|
| 819 | <DD>Method createRestrictionRole. |
---|
| 820 | Public interface to construct a <code>Restriction</code> type |
---|
| 821 | <code>RoleDeclaration</code> object. |
---|
| 822 | <P> |
---|
| 823 | <DD><DL> |
---|
| 824 | </DL> |
---|
| 825 | </DD> |
---|
| 826 | <DD><DL> |
---|
| 827 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - <DD><CODE>isIdentity</CODE> - <DD><CODE>baseRole</CODE> - <DD><CODE>newParameters</CODE> - |
---|
| 828 | <DT><B>Returns:</B><DD>RoleDeclaration |
---|
| 829 | <DT><B>Throws:</B> |
---|
| 830 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
| 831 | </DD> |
---|
| 832 | </DL> |
---|
| 833 | <HR> |
---|
| 834 | |
---|
| 835 | <A NAME="createExtensionRole(edu.stanford.rt.credential.DomainSpecification, java.lang.String, boolean, edu.stanford.rt.credential.RoleDeclaration, edu.stanford.rt.credential.OrderedMap)"><!-- --></A><H3> |
---|
| 836 | createExtensionRole</H3> |
---|
| 837 | <PRE> |
---|
| 838 | public static <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>createExtensionRole</B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 839 | java.lang.String name, |
---|
| 840 | boolean isIdentity, |
---|
| 841 | <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> baseRole, |
---|
| 842 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> newParameters) |
---|
| 843 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
| 844 | <DL> |
---|
| 845 | <DD>Method createExtensionRole. |
---|
| 846 | Public interface to construct an <code>Extension</code> type |
---|
| 847 | <code>RoleDeclaration</code> object. |
---|
| 848 | <P> |
---|
| 849 | <DD><DL> |
---|
| 850 | </DL> |
---|
| 851 | </DD> |
---|
| 852 | <DD><DL> |
---|
| 853 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - <DD><CODE>isIdentity</CODE> - <DD><CODE>baseRole</CODE> - <DD><CODE>newParameters</CODE> - |
---|
| 854 | <DT><B>Returns:</B><DD>RoleDeclaration |
---|
| 855 | <DT><B>Throws:</B> |
---|
| 856 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
| 857 | </DD> |
---|
| 858 | </DL> |
---|
| 859 | <HR> |
---|
| 860 | |
---|
| 861 | <A NAME="createProjectionRole(edu.stanford.rt.credential.DomainSpecification, java.lang.String, boolean, edu.stanford.rt.credential.RoleDeclaration, java.lang.String[])"><!-- --></A><H3> |
---|
| 862 | createProjectionRole</H3> |
---|
| 863 | <PRE> |
---|
| 864 | public static <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>createProjectionRole</B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 865 | java.lang.String name, |
---|
| 866 | boolean isIdentity, |
---|
| 867 | <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> baseRole, |
---|
| 868 | java.lang.String[] parameterNames) |
---|
| 869 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
| 870 | <DL> |
---|
| 871 | <DD>Method createProjectionRole. |
---|
| 872 | Public interface to construct a <code>Projection</code> type |
---|
| 873 | <code>RoleDeclaration</code> object. |
---|
| 874 | <P> |
---|
| 875 | <DD><DL> |
---|
| 876 | </DL> |
---|
| 877 | </DD> |
---|
| 878 | <DD><DL> |
---|
| 879 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - <DD><CODE>isIdentity</CODE> - <DD><CODE>baseRole</CODE> - <DD><CODE>parameterNames</CODE> - |
---|
| 880 | <DT><B>Returns:</B><DD>RoleDeclaration |
---|
| 881 | <DT><B>Throws:</B> |
---|
| 882 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
| 883 | </DD> |
---|
| 884 | </DL> |
---|
| 885 | <HR> |
---|
| 886 | |
---|
| 887 | <A NAME="createPlainRole(edu.stanford.rt.credential.DomainSpecification, java.lang.String, int, int, int, boolean, edu.stanford.rt.credential.OrderedMap)"><!-- --></A><H3> |
---|
| 888 | createPlainRole</H3> |
---|
| 889 | <PRE> |
---|
| 890 | public static <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>createPlainRole</B>(<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> context, |
---|
| 891 | java.lang.String name, |
---|
| 892 | int issuerTracesType, |
---|
| 893 | int subjectTracesType, |
---|
| 894 | int dimension, |
---|
| 895 | boolean isIdentity, |
---|
| 896 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> newParameters) |
---|
| 897 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
| 898 | <DL> |
---|
| 899 | <DD>Method createPlainRole. |
---|
| 900 | Public interface to construct a <code>Plain</code> type of |
---|
| 901 | <code>RoleDeclaration</code> object. <code>Identity</code> is not supported. |
---|
| 902 | <P> |
---|
| 903 | <DD><DL> |
---|
| 904 | </DL> |
---|
| 905 | </DD> |
---|
| 906 | <DD><DL> |
---|
| 907 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - <DD><CODE>issuerTracesType</CODE> - <DD><CODE>subjectTracesType</CODE> - <DD><CODE>dimension</CODE> - <DD><CODE>isIdentity</CODE> - <DD><CODE>newParameters</CODE> - |
---|
| 908 | <DT><B>Returns:</B><DD>RoleDeclaration |
---|
| 909 | <DT><B>Throws:</B> |
---|
| 910 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
| 911 | </DD> |
---|
| 912 | </DL> |
---|
| 913 | <HR> |
---|
| 914 | |
---|
| 915 | <A NAME="getContext()"><!-- --></A><H3> |
---|
| 916 | getContext</H3> |
---|
| 917 | <PRE> |
---|
| 918 | public <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> <B>getContext</B>()</PRE> |
---|
| 919 | <DL> |
---|
| 920 | <DD>Returns the role declaration context. |
---|
| 921 | <P> |
---|
| 922 | <DD><DL> |
---|
| 923 | </DL> |
---|
| 924 | </DD> |
---|
| 925 | <DD><DL> |
---|
| 926 | </DL> |
---|
| 927 | </DD> |
---|
| 928 | </DL> |
---|
| 929 | <HR> |
---|
| 930 | |
---|
| 931 | <A NAME="getName()"><!-- --></A><H3> |
---|
| 932 | getName</H3> |
---|
| 933 | <PRE> |
---|
| 934 | public java.lang.String <B>getName</B>()</PRE> |
---|
| 935 | <DL> |
---|
| 936 | <DD>Returns the role name. |
---|
| 937 | <P> |
---|
| 938 | <DD><DL> |
---|
| 939 | </DL> |
---|
| 940 | </DD> |
---|
| 941 | <DD><DL> |
---|
| 942 | </DL> |
---|
| 943 | </DD> |
---|
| 944 | </DL> |
---|
| 945 | <HR> |
---|
| 946 | |
---|
| 947 | <A NAME="getIssuerTracesType()"><!-- --></A><H3> |
---|
| 948 | getIssuerTracesType</H3> |
---|
| 949 | <PRE> |
---|
| 950 | public int <B>getIssuerTracesType</B>()</PRE> |
---|
| 951 | <DL> |
---|
| 952 | <DD>Returns the value for <code>issuerTracesType</code>. |
---|
| 953 | <P> |
---|
| 954 | <DD><DL> |
---|
| 955 | </DL> |
---|
| 956 | </DD> |
---|
| 957 | <DD><DL> |
---|
| 958 | </DL> |
---|
| 959 | </DD> |
---|
| 960 | </DL> |
---|
| 961 | <HR> |
---|
| 962 | |
---|
| 963 | <A NAME="getSubjectTracesType()"><!-- --></A><H3> |
---|
| 964 | getSubjectTracesType</H3> |
---|
| 965 | <PRE> |
---|
| 966 | public int <B>getSubjectTracesType</B>()</PRE> |
---|
| 967 | <DL> |
---|
| 968 | <DD>Returns the value for <code>subjectTracesType</code>. |
---|
| 969 | <P> |
---|
| 970 | <DD><DL> |
---|
| 971 | </DL> |
---|
| 972 | </DD> |
---|
| 973 | <DD><DL> |
---|
| 974 | </DL> |
---|
| 975 | </DD> |
---|
| 976 | </DL> |
---|
| 977 | <HR> |
---|
| 978 | |
---|
| 979 | <A NAME="getDimension()"><!-- --></A><H3> |
---|
| 980 | getDimension</H3> |
---|
| 981 | <PRE> |
---|
| 982 | public int <B>getDimension</B>()</PRE> |
---|
| 983 | <DL> |
---|
| 984 | <DD>Returns the value for <code>dimension</code>. |
---|
| 985 | <P> |
---|
| 986 | <DD><DL> |
---|
| 987 | </DL> |
---|
| 988 | </DD> |
---|
| 989 | <DD><DL> |
---|
| 990 | </DL> |
---|
| 991 | </DD> |
---|
| 992 | </DL> |
---|
| 993 | <HR> |
---|
| 994 | |
---|
| 995 | <A NAME="getBaseRole()"><!-- --></A><H3> |
---|
| 996 | getBaseRole</H3> |
---|
| 997 | <PRE> |
---|
| 998 | public <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>getBaseRole</B>()</PRE> |
---|
| 999 | <DL> |
---|
| 1000 | <DD>Returns the base role object. |
---|
| 1001 | <P> |
---|
| 1002 | <DD><DL> |
---|
| 1003 | </DL> |
---|
| 1004 | </DD> |
---|
| 1005 | <DD><DL> |
---|
| 1006 | </DL> |
---|
| 1007 | </DD> |
---|
| 1008 | </DL> |
---|
| 1009 | <HR> |
---|
| 1010 | |
---|
| 1011 | <A NAME="isIdentity()"><!-- --></A><H3> |
---|
| 1012 | isIdentity</H3> |
---|
| 1013 | <PRE> |
---|
| 1014 | public boolean <B>isIdentity</B>()</PRE> |
---|
| 1015 | <DL> |
---|
| 1016 | <DD>Checks whether this role is an identity-based role. |
---|
| 1017 | <P> |
---|
| 1018 | <DD><DL> |
---|
| 1019 | </DL> |
---|
| 1020 | </DD> |
---|
| 1021 | <DD><DL> |
---|
| 1022 | </DL> |
---|
| 1023 | </DD> |
---|
| 1024 | </DL> |
---|
| 1025 | <HR> |
---|
| 1026 | |
---|
| 1027 | <A NAME="getParameterDeclarations()"><!-- --></A><H3> |
---|
| 1028 | getParameterDeclarations</H3> |
---|
| 1029 | <PRE> |
---|
| 1030 | public <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>getParameterDeclarations</B>() |
---|
| 1031 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
| 1032 | <DL> |
---|
| 1033 | <DD>Method getParameterDeclarations. |
---|
| 1034 | <P> |
---|
| 1035 | <DD><DL> |
---|
| 1036 | </DL> |
---|
| 1037 | </DD> |
---|
| 1038 | <DD><DL> |
---|
| 1039 | |
---|
| 1040 | <DT><B>Returns:</B><DD>OrderedMap |
---|
| 1041 | Returns an OrderedMap of parameter declarations in |
---|
| 1042 | this role declaration object. <br> |
---|
| 1043 | For Restriction or Extension type <code>RoleDeclaration</code>, |
---|
| 1044 | the map contains parameters declared both in base role and this role. |
---|
| 1045 | For Projection type <code>RoleDeclaration</code>, |
---|
| 1046 | the map contains only those paraeters declared in base role with |
---|
| 1047 | matching names with this role's declared parameters. |
---|
| 1048 | <DT><B>Throws:</B> |
---|
| 1049 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
| 1050 | </DD> |
---|
| 1051 | </DL> |
---|
| 1052 | <HR> |
---|
| 1053 | |
---|
| 1054 | <A NAME="getParameterType(java.lang.String)"><!-- --></A><H3> |
---|
| 1055 | getParameterType</H3> |
---|
| 1056 | <PRE> |
---|
| 1057 | public <A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A> <B>getParameterType</B>(java.lang.String paramName) |
---|
| 1058 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
| 1059 | <DL> |
---|
| 1060 | <DD>Method getParameterType. |
---|
| 1061 | <P> |
---|
| 1062 | <DD><DL> |
---|
| 1063 | </DL> |
---|
| 1064 | </DD> |
---|
| 1065 | <DD><DL> |
---|
| 1066 | <DT><B>Parameters:</B><DD><CODE>paramName</CODE> - name of the declared parameter. |
---|
| 1067 | <DT><B>Returns:</B><DD>DataType type of the declared parameter. |
---|
| 1068 | <DT><B>Throws:</B> |
---|
| 1069 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
| 1070 | </DD> |
---|
| 1071 | </DL> |
---|
| 1072 | <HR> |
---|
| 1073 | |
---|
| 1074 | <A NAME="getPrefixToPositions()"><!-- --></A><H3> |
---|
| 1075 | getPrefixToPositions</H3> |
---|
| 1076 | <PRE> |
---|
| 1077 | public java.util.Map <B>getPrefixToPositions</B>()</PRE> |
---|
| 1078 | <DL> |
---|
| 1079 | <DD>Returns a unmodifiable view of prefix-to-position map. |
---|
| 1080 | <P> |
---|
| 1081 | <DD><DL> |
---|
| 1082 | </DL> |
---|
| 1083 | </DD> |
---|
| 1084 | <DD><DL> |
---|
| 1085 | </DL> |
---|
| 1086 | </DD> |
---|
| 1087 | </DL> |
---|
| 1088 | <HR> |
---|
| 1089 | |
---|
| 1090 | <A NAME="getPositionToPrefixes()"><!-- --></A><H3> |
---|
| 1091 | getPositionToPrefixes</H3> |
---|
| 1092 | <PRE> |
---|
| 1093 | public java.util.Map <B>getPositionToPrefixes</B>()</PRE> |
---|
| 1094 | <DL> |
---|
| 1095 | <DD>Returns a unmodifiable view of position-to-prefix map. |
---|
| 1096 | <P> |
---|
| 1097 | <DD><DL> |
---|
| 1098 | </DL> |
---|
| 1099 | </DD> |
---|
| 1100 | <DD><DL> |
---|
| 1101 | </DL> |
---|
| 1102 | </DD> |
---|
| 1103 | </DL> |
---|
| 1104 | <HR> |
---|
| 1105 | |
---|
| 1106 | <A NAME="getTotalPrefixes()"><!-- --></A><H3> |
---|
| 1107 | getTotalPrefixes</H3> |
---|
| 1108 | <PRE> |
---|
| 1109 | public int <B>getTotalPrefixes</B>()</PRE> |
---|
| 1110 | <DL> |
---|
| 1111 | <DD>Returns the total number of the prefixes in the map. |
---|
| 1112 | <P> |
---|
| 1113 | <DD><DL> |
---|
| 1114 | </DL> |
---|
| 1115 | </DD> |
---|
| 1116 | <DD><DL> |
---|
| 1117 | </DL> |
---|
| 1118 | </DD> |
---|
| 1119 | </DL> |
---|
| 1120 | <HR> |
---|
| 1121 | |
---|
| 1122 | <A NAME="getPosition(java.lang.String)"><!-- --></A><H3> |
---|
| 1123 | getPosition</H3> |
---|
| 1124 | <PRE> |
---|
| 1125 | public int <B>getPosition</B>(java.lang.String prefix)</PRE> |
---|
| 1126 | <DL> |
---|
| 1127 | <DD>Method getPosition. |
---|
| 1128 | <P> |
---|
| 1129 | <DD><DL> |
---|
| 1130 | </DL> |
---|
| 1131 | </DD> |
---|
| 1132 | <DD><DL> |
---|
| 1133 | <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - the prefix to get the position with. |
---|
| 1134 | <DT><B>Returns:</B><DD>int |
---|
| 1135 | the postition of the given prefix.</DL> |
---|
| 1136 | </DD> |
---|
| 1137 | </DL> |
---|
| 1138 | <HR> |
---|
| 1139 | |
---|
| 1140 | <A NAME="getPrefix(int)"><!-- --></A><H3> |
---|
| 1141 | getPrefix</H3> |
---|
| 1142 | <PRE> |
---|
| 1143 | public java.lang.String <B>getPrefix</B>(int position)</PRE> |
---|
| 1144 | <DL> |
---|
| 1145 | <DD>Method getPrefix. |
---|
| 1146 | <P> |
---|
| 1147 | <DD><DL> |
---|
| 1148 | </DL> |
---|
| 1149 | </DD> |
---|
| 1150 | <DD><DL> |
---|
| 1151 | <DT><B>Parameters:</B><DD><CODE>position</CODE> - the position to get prefix with. |
---|
| 1152 | <DT><B>Returns:</B><DD>String |
---|
| 1153 | the prefix at the given position.</DL> |
---|
| 1154 | </DD> |
---|
| 1155 | </DL> |
---|
| 1156 | <HR> |
---|
| 1157 | |
---|
| 1158 | <A NAME="toString(java.lang.String)"><!-- --></A><H3> |
---|
| 1159 | toString</H3> |
---|
| 1160 | <PRE> |
---|
| 1161 | public java.lang.String <B>toString</B>(java.lang.String indent)</PRE> |
---|
| 1162 | <DL> |
---|
| 1163 | <DD>Method toString. |
---|
| 1164 | <P> |
---|
| 1165 | <DD><DL> |
---|
| 1166 | </DL> |
---|
| 1167 | </DD> |
---|
| 1168 | <DD><DL> |
---|
| 1169 | <DT><B>Parameters:</B><DD><CODE>indent</CODE> - |
---|
| 1170 | <DT><B>Returns:</B><DD>String</DL> |
---|
| 1171 | </DD> |
---|
| 1172 | </DL> |
---|
| 1173 | <HR> |
---|
| 1174 | |
---|
| 1175 | <A NAME="calculatePrefixPositions(java.lang.StringBuffer, int, edu.stanford.rt.credential.OrderedMap, java.util.HashMap, java.util.HashMap)"><!-- --></A><H3> |
---|
| 1176 | calculatePrefixPositions</H3> |
---|
| 1177 | <PRE> |
---|
| 1178 | private void <B>calculatePrefixPositions</B>(java.lang.StringBuffer prefix, |
---|
| 1179 | int position, |
---|
| 1180 | <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> paramDeclarations, |
---|
| 1181 | java.util.HashMap prefixToPositionMap, |
---|
| 1182 | java.util.HashMap positionToPrefixMap) |
---|
| 1183 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
| 1184 | <DL> |
---|
| 1185 | <DD>Method calculatePrefixPositions. |
---|
| 1186 | <P> |
---|
| 1187 | <DD><DL> |
---|
| 1188 | </DL> |
---|
| 1189 | </DD> |
---|
| 1190 | <DD><DL> |
---|
| 1191 | <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - current prefix. Prefix is a lolon-saparated string, which |
---|
| 1192 | is the concatenation of role name and parameter names.<DD><CODE>position</CODE> - the current position of the prefix.<DD><CODE>paramDeclarations</CODE> - all parameters declared in this role.<DD><CODE>prefixToPositionMap</CODE> - a HashMap which maps a prefix to its position.<DD><CODE>positionToPrefixMap</CODE> - a HashMap which maps a position to its prefix |
---|
| 1193 | <DT><B>Throws:</B> |
---|
| 1194 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
| 1195 | </DD> |
---|
| 1196 | </DL> |
---|
| 1197 | <HR> |
---|
| 1198 | |
---|
| 1199 | <A NAME="getIssuerTracesTypeString(int)"><!-- --></A><H3> |
---|
| 1200 | getIssuerTracesTypeString</H3> |
---|
| 1201 | <PRE> |
---|
| 1202 | private java.lang.String <B>getIssuerTracesTypeString</B>(int issuerTracesType)</PRE> |
---|
| 1203 | <DL> |
---|
| 1204 | <DD><DL> |
---|
| 1205 | </DL> |
---|
| 1206 | </DD> |
---|
| 1207 | <DD><DL> |
---|
| 1208 | </DL> |
---|
| 1209 | </DD> |
---|
| 1210 | </DL> |
---|
| 1211 | <HR> |
---|
| 1212 | |
---|
| 1213 | <A NAME="getSubjectTracesTypeString(int)"><!-- --></A><H3> |
---|
| 1214 | getSubjectTracesTypeString</H3> |
---|
| 1215 | <PRE> |
---|
| 1216 | private java.lang.String <B>getSubjectTracesTypeString</B>(int subjectTracesType)</PRE> |
---|
| 1217 | <DL> |
---|
| 1218 | <DD><DL> |
---|
| 1219 | </DL> |
---|
| 1220 | </DD> |
---|
| 1221 | <DD><DL> |
---|
| 1222 | </DL> |
---|
| 1223 | </DD> |
---|
| 1224 | </DL> |
---|
| 1225 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 1226 | <HR> |
---|
| 1227 | |
---|
| 1228 | <!-- ========== START OF NAVBAR ========== --> |
---|
| 1229 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 1230 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
---|
| 1231 | <TR> |
---|
| 1232 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 1233 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 1234 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
---|
| 1235 | <TR ALIGN="center" VALIGN="top"> |
---|
| 1236 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 1237 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 1238 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 1239 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RoleDeclaration.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 1240 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 1241 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 1242 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 1243 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 1244 | </TR> |
---|
| 1245 | </TABLE> |
---|
| 1246 | </TD> |
---|
| 1247 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 1248 | </EM> |
---|
| 1249 | </TD> |
---|
| 1250 | </TR> |
---|
| 1251 | |
---|
| 1252 | <TR> |
---|
| 1253 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1254 | <A HREF="../../../../edu/stanford/rt/credential/Role.html"><B>PREV CLASS</B></A> |
---|
| 1255 | <A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 1256 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1257 | <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
---|
| 1258 | <A HREF="RoleDeclaration.html" TARGET="_top"><B>NO FRAMES</B></A> |
---|
| 1259 | |
---|
| 1260 | <SCRIPT> |
---|
| 1261 | <!-- |
---|
| 1262 | if(window==top) { |
---|
| 1263 | document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
---|
| 1264 | } |
---|
| 1265 | //--> |
---|
| 1266 | </SCRIPT> |
---|
| 1267 | <NOSCRIPT> |
---|
| 1268 | <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
---|
| 1269 | </NOSCRIPT> |
---|
| 1270 | </FONT></TD> |
---|
| 1271 | </TR> |
---|
| 1272 | <TR> |
---|
| 1273 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1274 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 1275 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1276 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 1277 | </TR> |
---|
| 1278 | </TABLE> |
---|
| 1279 | <!-- =========== END OF NAVBAR =========== --> |
---|
| 1280 | |
---|
| 1281 | <HR> |
---|
| 1282 | |
---|
| 1283 | </BODY> |
---|
| 1284 | </HTML> |
---|