You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ctubbsii (via GitHub)" <gi...@apache.org> on 2023/05/26 17:47:57 UTC

[GitHub] [accumulo] ctubbsii commented on issue #3433: Always authenticate users in the shell after startup and when switching users

ctubbsii commented on issue #3433:
URL: https://github.com/apache/accumulo/issues/3433#issuecomment-1564723775

   To authenticate the client, it should just be a simple matter of calling `client.securityOperations().authenticate()` immediately after it is constructed. However, this is made slightly complicated by the fact that the `AccumuloClient` can be constructed using the client config file. You can call `.whoami()` to get the username, but I'm not sure if there's an easy way to get the `AuthenticationToken` parameter that `authenticate(username, token)` requires.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org