Some methods don't support passing attributes, and for those we can't add authentication info. These methods throw an exception. It is of course possible to bypass the authentication by using the wrapped HTable instance, but then no authorization filtering will be applied!
This method will modify the operation objects (the Get, Put, etc.) by adding an attribute to them (cfr. HBase's OperationWithAttributes). This means it is not a good idea to have, say, a Get object shared between threads.
|
|