Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1793#discussion_r89154991
  
    --- Diff: 
storm-core/src/jvm/org/apache/storm/security/auth/kerberos/KerberosSaslTransportPlugin.java
 ---
    @@ -50,6 +52,44 @@
     public class KerberosSaslTransportPlugin extends SaslTransportPlugin {
         public static final String KERBEROS = "GSSAPI"; 
         private static final Logger LOG = 
LoggerFactory.getLogger(KerberosSaslTransportPlugin.class);
    +    private static Map <LoginCacheKey, Login> loginCache = new 
ConcurrentHashMap<>();
    --- End diff --
    
    In case people are worried about the cache growing without bound the size 
of the cache will be proportional to the size of your jaas conf, as the key to 
the cache is essentially the jaas conf entry for the Login.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to