source: examples/creddy_tests/roles.ck @ ff71d24

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since ff71d24 was 461541a, checked in by Mei <mei@…>, 12 years ago

1) updated original rt0 to remove libstrongswan dependency

a) identity credential being made/accessed with openssl api calls

(X509/EVP_PKEY pem)

b) attribute credential being made/access via xmlsec1 (custom XML

structure)

2) refactored libcreddy into libabac and now one ABAC namespace for

libabac

3) added attribute_rule suboption to creddy's attribute as another way

to insert access rule

4) added some regression tests into example directory
5) updated some docs.

  • Property mode set to 100755
File size: 403 bytes
Line 
1#!/bin/sh
2
3# roles.ck
4
5result=`diff -I "buy_rockets" roles.out roles.save 2>/dev/null`
6
7if [ "$result" = "" ]; then
8    return 0
9else
10    return 1
11fi
12
13
14# ignore
15#< 200baedcb4bfc243cdefe11efb27e293b85a7232.buy_rockets<-200baedcb4bfc243cdefe11efb27e293b85a7232.preferred_customer
16#---
17#> da8282ce28befbb08b432822f282dce02e28eaec.buy_rockets<-da8282ce28befbb08b432822f282dce02e28eaec.preferred_customer
18#
19
Note: See TracBrowser for help on using the repository browser.