[[TOC]] ABAC Java API is supported via SWIG generated JNI == Documentation == * Main ABAC documentation still applies to Java as well as normal ABAC keystores and examples * Generated Java doc can be found at /swig/java/doc after installation of the [source:/swig/java@mei_rt2 Java subdirectory] Special Note: An explicit call to free context (free_context_now()) is needed to workaround a Java GC problem using libstrongswan in ABAC == Installation == The Java code all lives in the [source:/swig/java@mei_rt2 Java subdirectory] of the main source tree. === Just Compile === {{{ ant all }}} === Other Compile Options === The following {{{ ant }}} targets are supported: * {{{all}}}: clean then compile and make docs * {{{compile}}}: build the library and test programs * {{{run-setup}}}: run a simple test program in !SetupTest.java * {{{run-test}}}: run a simple test program in !ProverTest.java(params in target) * {{{jar}}}: build jabac.jar in build/jar/jabac.jar * {{{doc}}}: generate API javadocs in ./doc * {{{dev-doc}}} create developer API javadocs in ./dev-doc (includes package/private/protected functions) * {{{clean}}}: remove created files (includes .der and .pem in this directory)