I think it's important that if provided the GSS-API comply with the org.ietf.jgss API. I don't think it matters much whether you port something that can backend into a native API or you generate your own. I don't know if swig can generate something that actually complies with the Java GSS bindings.