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

Benoy Antony updated HADOOP-10833:
----------------------------------

    Description: 
_UserProvider_ contains the field cache.
{code}
  private final Map<String, CredentialEntry> cache = new HashMap<String, 
      CredentialEntry>();
{code}
        
It is referenced only in {{deleteCredentialEntry}} and so there is no real 
usage of {{cache}}.

  was:
_UserProvider_ contains the field cache.
{code}
  private final Map<String, CredentialEntry> cache = new HashMap<String, 
      CredentialEntry>();
{code}
        
It is referenced only in {{deleteCredentialEntry}} and so there is no real 
usage of {{cache}.


> Unused cache in UserProvider
> ----------------------------
>
>                 Key: HADOOP-10833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10833
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.4.1
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HADOOP-10833.patch
>
>
> _UserProvider_ contains the field cache.
> {code}
>   private final Map<String, CredentialEntry> cache = new HashMap<String, 
>       CredentialEntry>();
> {code}
>       
> It is referenced only in {{deleteCredentialEntry}} and so there is no real 
> usage of {{cache}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to