Changes between Version 9 and Version 10 of WikiStart


Ignore:
Timestamp:
May 17, 2013 1:59:15 PM (11 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v9 v10  
    200200The Attribute constructor takes the issuing identity, the attribute being assigned and the validity period of the assertion (in seconds).  This code assigns a principal to that class using the {{{principal}}} member.  The {{{role}}} member and {{{linking_role}}} members can be used to construct the other kinds of attributes.
    201201
    202 The {{{bake}}} member finalizes the attribute and creates a signed format for export, which one can write using the {{{write}}} and {{{write_file}}} members, that are analogous to {{{write_cert}}} and {{{write_cert_file}}} members of identities.
     202The {{{bake}}} member finalizes the attribute and creates a signed format for export, which one can write using the {{{write}}} and {{{write_file}}} members, that are analogous to {{{write_cert}}} and {{{write_cert_file}}} members of identities.  Though applications may treat them as opaque, thecurrent format is a [http://groups.geni.net/geni/wiki/TIEDABACCredential signed XML format].
    203203
    204204The {{{bake}}} method exists so that Attributes can contain conjunctions.  If identity A wants to state that friendly admins are admins who are friendly ({{{A.friendly_admin <- A.friendly & A.admin}}}), this code will it: