axis_examplecompt_changesinfo-ops
Last change
on this file since b4e5366 was
547aa3b,
checked in by Ted Faber <faber@…>, 14 years ago
|
various fixes to abac tools to work with the new library
|
-
Property mode set to
100755
|
File size:
268 bytes
|
Rev | Line | |
---|
[547aa3b] | 1 | #!/usr/local/bin/python |
---|
| 2 | |
---|
| 3 | import sys |
---|
| 4 | from federation.authorizer import abac_authorizer |
---|
| 5 | import ABAC |
---|
| 6 | |
---|
| 7 | if len(sys.argv) == 2 and sys.argv[1].strip() != '--help': |
---|
| 8 | a = abac_authorizer(load=sys.argv[1]) |
---|
| 9 | print a |
---|
| 10 | else: |
---|
| 11 | sys.exit("Usage: %s directory" % sys.argv[0]) |
---|
Note: See
TracBrowser
for help on using the repository browser.