source: examples/python_tests/basic_id/README @ 5110d42

mei_rt2mei_rt2_fix_1
Last change on this file since 5110d42 was 5110d42, checked in by Mei <mei@…>, 12 years ago

1) reorganized the test directory to include python tests
2) attribute via api and principal via api from python scripts is

working (although there is a annoying seg fault at the very end
that must be related to something not been dup()ed.. need to wait
for c example to debug it)

3) able to query via api
4) replicated access_rt2 example in python and the query result matches
5) expanded api to make it easier to generate rt2 structure

  • Property mode set to 100755
File size: 440 bytes
Line 
1#!/bin/sh
2
3#####################################################################
4# This example demonstrates various ways to access and create
5# ID credentials using libabac api using python
6# In yap db, the ID credential is stored as: isType(pIDname,keyid)
7
8# Two pre-existing id credentials are generated using creddy, this is
9# to test the load_directory api call
10creddy --generate --cn CreddyBob
11creddy --generate --cn CreddyJack
12
13
Note: See TracBrowser for help on using the repository browser.