Class TCredentialsUpdatingWrapper


  • public class TCredentialsUpdatingWrapper
    extends Object
    Utility method to ensure that the instance of TCredentials which is passed to the implementation of a Thrift service has the correct principal from SASL at the Thrift transport layer when SASL/GSSAPI (kerberos) is enabled. This ensures that we use the strong authentication provided to us and disallow any other principal names that client (malicious or otherwise) might pass in.
    • Constructor Detail

      • TCredentialsUpdatingWrapper

        public TCredentialsUpdatingWrapper()