source: examples/creddy_tests/attribute_rule.ck @ 7e07118

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 7e07118 was 461541a, checked in by Mei <mei@…>, 11 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: 405 bytes
Line 
1#!/bin/sh
2
3# attribute_rule.ck
4
5result=`diff -I "sneaky_friend" attribute_rule.out attribute_rule.save 2>/dev/null`
6
7if [ "$result" = "" ]; then
8    return 0
9else
10    return 1
11fi
12
13
14# ignore
15
16#
17#2c2
18#< 42d367c6c599ac9d505cafa9abe92fd00d587db5.sneaky_friend<-a1dca2221c256393553edb5369980b4c04768dc0
19#---
20#> 0331e8fb4e0b4a58fcda5b938eaeab6a0663d7d3.sneaky_friend<-7ab52740e981d1c98589bed128e94fbefffa181a
21#
Note: See TracBrowser for help on using the repository browser.