/nwgss

Limited Java implementation of SASL GSSAPI/Kerberos v5 client provider over native SSPI, for LDAP client connections

Primary LanguageJavaApache License 2.0Apache-2.0

README

This is a limited implementation of SASL GSSAPI/Kerberos v5 client provider over native SSPI. The implementation is limited to the usage of the current/specified user credentials for LDAP client connections. JPMS is required, implementation was tested on OpenJDK 11. The only external runtime dependency is JNA.

Licensed under the Apache License, Version 2.0

Simple usage example is available in ClientTest.java

Following configuration properties are implemented:

  • javax.security.sasl.qop
  • javax.security.sasl.server.authentication
  • javax.security.sasl.maxbuffer
  • javax.security.sasl.sendmaxbuffer

User credentials are supplied using CallbackHandler, i.e. RealmCallback, NameCallback, PasswordCallback. Current user credentials are used unless the whole set of user credentials was provided.

Some limited debug logging is available via java.util.logging

All product names, trademarks and registered trademarks are property of their respective owners. All company, product and service names used are for identification purposes only. Use of these names, trademarks and brands does not imply endorsement.