source: examples/example_scripts/java/tbasic.java @ 7751094

mei_rt2
Last change on this file since 7751094 was 2e9455f, checked in by Mei <mei@…>, 11 years ago

1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule

  • Property mode set to 100644
File size: 450 bytes
Line 
1/*****
2     tbasic.java
3***/
4
5import java.io.*;
6import java.util.*;
7
8import net.deterlab.abac.*;
9
10public class tbasic {
11
12    static {
13        System.loadLibrary("jABAC");
14    }
15
16    public static void main(String[] args) throws IOException {
17        System.out.println("called main from tbasic.java");
18
19        Context ctxt=new Context(); 
20/*        ctxt.dump_yap_db(); */ 
21
22        System.out.println("done called main from tbasic.java");
23    }
24}
25
Note: See TracBrowser for help on using the repository browser.