Changes between Version 20 and Version 21 of WikiStart
- Timestamp:
- Jul 16, 2013 11:42:27 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v20 v21 7 7 If you are new to ABAC, you may find the [http://groups.geni.net/geni/wiki/TIEDABACModel introductory material] from our [http://groups.geni.net/geni/wiki/TIED TIED project] helpful. That material summarizes the power and semantics of ABAC and links to [http://groups.geni.net/geni/wiki/TIEDABACDemo examples of ABAC policy] illustrated using an early example of [CrudgeDocs the Crudge ABAC policy browser]. 8 8 9 The latest ABAC RT0 version is [http://abac.deterlab.net/src/abac-0.1. 4.tar.gz ABAC 0.1.4] ([http://abac.deterlab.net/src/abac-0.1.4.tar.gz.asc signature]).9 The latest ABAC RT0 version is [http://abac.deterlab.net/src/abac-0.1.5.tar.gz ABAC 0.1.5] ([http://abac.deterlab.net/src/abac-0.1.5.tar.gz.asc signature]). 10 10 11 11 == What's Included == … … 68 68 === Installation === 69 69 70 Then get the [http://abac.deterlab.net/src/abac-0.1. 4.tar.gz source], untar it, change to the {{{abac-0.1.4}}} directory and do the standard install sequence:70 Then get the [http://abac.deterlab.net/src/abac-0.1.5.tar.gz source], untar it, change to the {{{abac-0.1.5}}} directory and do the standard install sequence: 71 71 72 72 {{{ … … 77 77 }}} 78 78 79 To confirm that your install succeeded: 80 81 {{{ 82 $ cd examples 83 $ make 79 To confirm that your build succeeded: 80 81 {{{ 82 $ make testing 84 83 }}} 85 84 … … 88 87 === Tracking Development === 89 88 90 Current released [http://abac.deterlab.net/src/abac-0.1. 4.tar.gz source] [http://abac.deterlab.net/src/abac-0.1.4.tar.gz.asc signature]89 Current released [http://abac.deterlab.net/src/abac-0.1.5.tar.gz source] [http://abac.deterlab.net/src/abac-0.1.5.tar.gz.asc signature] 91 90 92 91 If you would like to track the libabac development, you can pull code from out publically available git repository: … … 101 100 102 101 See the [source:/doc/ChangeLog ChangeLog] for details about each release 102 * 2013-07-17: ABAC 0.1.5 released 103 103 * 2013-05-20: ABAC 0.1.4 released 104 104 * 2011-04-11: Crudge 1.0 released … … 114 114 Libabac allows developers to import signed ABAC statements about principals and attributes and prove that certain principals have those attributes ([http://groups.geni.net/geni/wiki/TIEDABACModel more detail about ABAC logic]). The basic structures that libabac uses to support those operations are identities, attributes, and a context for those. 115 115 116 The [/browser/doc/API?tag=0.1. 4API document] lists all the interfaces to the library, but this section is intended to impart some meaning to the various structures. The java interface is slightly different in detail, but uses the same constructs. These examples use python so that the interested user can basically type along with the descriptions.116 The [/browser/doc/API?tag=0.1.5 API document] lists all the interfaces to the library, but this section is intended to impart some meaning to the various structures. The java interface is slightly different in detail, but uses the same constructs. These examples use python so that the interested user can basically type along with the descriptions. 117 117 118 118 Our native java implementation, [JavaSupport jabac] follows the same API, but differs in some details. Full [http://abac.deterlab.net/javadoc/index.html javadocs] are available for jabac, and the examples below are easily translated into that interface. … … 276 276 === Credentials and Roles === 277 277 278 Credentials are the abstraction of ABAC statements and Roles are the abstraction of the terms of an ABAC statement. A Credential is made up of two Roles, a head and a tail that make the two sides of the ABAC statement. There are a set of accessors to parse the contents of a role, described in the [/browser/doc/API?tag=0.1. 4API docs], and roles are primarily of interest in printing and exploring the proof.278 Credentials are the abstraction of ABAC statements and Roles are the abstraction of the terms of an ABAC statement. A Credential is made up of two Roles, a head and a tail that make the two sides of the ABAC statement. There are a set of accessors to parse the contents of a role, described in the [/browser/doc/API?tag=0.1.5 API docs], and roles are primarily of interest in printing and exploring the proof. 279 279 280 280 Credentials are useful in communicating proof contents outside the program. In addition to {{{head}}} and {{{tail}}} accessors that access the Roles, a Credential has a {{{attribute_cert()}}} method that returns the exportable content of the assertion and an {{{issuer_cert()}}} that returns the issuer's X.509 certificate (sans private key). These outputs are chunks, useful for writing to files or importing into other contexts. The following code prints the proof of our earlier successful question and saves it to files. This is not exemplary python file handling, but the point is to see the accessors: … … 297 297 == Next Steps == 298 298 299 In addition to the [/browser/doc/API?tag=0.1. 4API description] the code for the [CredPrinterDocs credential printer] is [/browser/cred_printer available]. It is a fairly complete example of using python and libabac.299 In addition to the [/browser/doc/API?tag=0.1.5 API description] the code for the [CredPrinterDocs credential printer] is [/browser/cred_printer available]. It is a fairly complete example of using python and libabac. 300 300 301 301 There are [NewStuff new features] being worked on in the git repository.