Package org.apache.accumulo.server.rpc
Class TCredentialsUpdatingWrapper
- java.lang.Object
-
- org.apache.accumulo.server.rpc.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 Summary
Constructors Constructor Description TCredentialsUpdatingWrapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
service(T instance, Class<? extends T> originalClass, AccumuloConfiguration conf)
-
-
-
Method Detail
-
service
public static <T> T service(T instance, Class<? extends T> originalClass, AccumuloConfiguration conf)
-
-