You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jens Deppe (Jira)" <ji...@apache.org> on 2021/12/03 13:54:00 UTC

[jira] [Commented] (GEODE-9563) Close Radish connections when AuthenticationExpiredException is caught

    [ https://issues.apache.org/jira/browse/GEODE-9563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453019#comment-17453019 ] 

Jens Deppe commented on GEODE-9563:
-----------------------------------

To achieve automatic connection refresh we can simply close the connection when an AuthenticationExpiredException is thrown. This will then cause the client to re-establish a new connection and retry the command.

> Close Radish connections when AuthenticationExpiredException is caught
> ----------------------------------------------------------------------
>
>                 Key: GEODE-9563
>                 URL: https://issues.apache.org/jira/browse/GEODE-9563
>             Project: Geode
>          Issue Type: New Feature
>          Components: redis
>            Reporter: Wayne
>            Priority: Major
>
> The Redis Server and clients do not directly support token refresh or reauthentication.  Write example code of how we can accomplish a forced reauthentication using the existing Redis clients.
>  
> _Acceptance Criteria_
> Example code has been written using the Jedis and Lettuce clients that illustrate how to force these clients to reauthenticate.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)