This binding is implemented as tas3java.class and libtas3jni.so (libtas3jni.jnilib on MacOS X, libtas3jni.dll on Windows) module.
Typically you need to include in your Java servlet or program something like
01 import tas3java.*;
02 static tas3.tas3_conf cf;
03 static {
04 System.loadLibrary("tas3jni");
05 cf = tas3.new_conf_to_cf("PATH=/var/tas3/");
06 }
This will bring in the functionality of the TAS3 Java binding and cause the JNI library implementing this functionality to be loaded. It will also create a configuration object that the other parts of a servlet can share.
The Java binding replaces the "tas3_" prefix in function names with the class prefix "tas3.", for example tas3_sso() becomes tas3.sso() and tas3_az() becomes tas3.az().
The TAS3 Java interface is defined as follows
package tas3;
public interface tas3 {
public static tas3_conf new_conf_to_cf(String conf);
public static tas3_ses new_ses(tas3_conf cf);
public static tas3_ses fetch_ses(tas3_conf cf, String sid);
public static String sso_cf(tas3_conf cf, int qs_len, String qs,
p_int res_len, int auto_flags);
public static int get_ses(tas3_conf cf, tas3_ses ses, String sid);
public static int az_cf_ses(tas3_conf cf, String qs, tas3_ses ses);
public static int az_cf(tas3_conf cf, String qs, String sid);
public static int az(String conf, String qs, String sid);
public static String wsp_validate(tas3_conf cf, tas3_ses ses,
String az_cred, String enve);
public static String wsp_decorate(tas3_conf cf, tas3_ses ses,
String az_cred, String enve);
public static String call(tas3_conf cf, tas3_ses ses,
String svctype, String url, String di_opt,
String az_cred, String enve);
public static tas3_epr get_epr(tas3_conf cf, tas3_ses ses,
String svc, String url, String di_opt,
String action, int n);
public static String get_epr_url(tas3_conf cf, tas3_epr epr);
public static String get_epr_entid(tas3_conf cf, tas3_epr epr);
public static String get_epr_a7n(tas3_conf cf, tas3_epr epr);
}