Class SaslWrappers


  • public final class SaslWrappers
    extends Object
    Utility methods for SASL wrappers.
    Author:
    David M. Lloyd
    • Constructor Detail

      • SaslWrappers

        private SaslWrappers()
    • Method Detail

      • wrapperFor

        public static SaslWrapper wrapperFor​(SaslClient saslClient)
        Get a wrapper for the given SASL client.
        Parameters:
        saslClient - the SASL client
        Returns:
        the SASL wrapper
      • wrapperFor

        public static SaslWrapper wrapperFor​(SaslServer saslServer)
        Get a wrapper for the given SASL server.
        Parameters:
        saslServer - the SASL server
        Returns:
        the SASL wrapper