gssapi - Exporting GSSCredential to byte array and vice versa -
i implementing s4u protocol using gss in java. since java 7 not support protocol, plan write jni wrapper on gss api methods in c not have equivalent in java.
as part of writing jni on gss_acquire_cred_impersonate_name described in http://k5wiki.kerberos.org/wiki/projects/services4user#gss_acquire_cred_impersonate_name .
this method takes populated input credential handle (gss_cred_id_t) , populates output credential handle. in java code have gsscredential created need pass c function in form of gss_cred_id_t , convert output credential handle gss_cred_id_t gsscredential further use.
how can export gsscredential object byte array , vice versa in order communicate c function ?
thanks
- you should rather java 8 code, has built-in support.
- export cred custom extension gss-api , therefore not available. globus jgss implementation support extension.
Comments
Post a Comment