Fix invalid cast
Merge branch 'fix/cast' of github.com:maginatics/kerberos-java-gssapi into maginatics-fix/cast