[ 
https://issues.apache.org/jira/browse/GEODE-9453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jinmei Liao updated GEODE-9453:
-------------------------------
    Description: 
ClientUserAuths maintains a map of clientID to its user attributes (the logged 
in shiro subject etc), when user expires, we need to remove that entry from 
that map and log the shiro subject out to avoid resource leak.

 

add all appropriate tests (unit, integration and dunit)

The test should cover multi-server scenario, and make sure the expired subject 
entry is cleared in the map.

  was:
ClientUserAuths maintains a map of clientID to its user attributes (the logged 
in shiro subject etc), when user expires, we need to remove that entry from 
that map and log the shiro subject out to avoid resource leak.

 make sure to include tests in multi-server cases


> The server, once a user expires, should clean the user attributes from the 
> server.
> ----------------------------------------------------------------------------------
>
>                 Key: GEODE-9453
>                 URL: https://issues.apache.org/jira/browse/GEODE-9453
>             Project: Geode
>          Issue Type: Sub-task
>          Components: core, security
>            Reporter: Jinmei Liao
>            Priority: Major
>              Labels: GeodeOperationAPI, pull-request-available
>
> ClientUserAuths maintains a map of clientID to its user attributes (the 
> logged in shiro subject etc), when user expires, we need to remove that entry 
> from that map and log the shiro subject out to avoid resource leak.
>  
> add all appropriate tests (unit, integration and dunit)
> The test should cover multi-server scenario, and make sure the expired 
> subject entry is cleared in the map.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to