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

    https://github.com/apache/incubator-geode/pull/223#discussion_r73215457
  
    --- Diff: 
geode-core/src/main/java/com/gemstone/gemfire/internal/security/IntegratedSecurityService.java
 ---
    @@ -0,0 +1,164 @@
    +package com.gemstone.gemfire.internal.security;
    +
    +import java.util.Properties;
    +import java.util.concurrent.Callable;
    +
    +import org.apache.geode.security.ResourcePermission;
    +import org.apache.geode.security.SecurityManager;
    +import org.apache.logging.log4j.Logger;
    +import org.apache.shiro.subject.Subject;
    +import org.apache.shiro.util.ThreadState;
    +
    +import com.gemstone.gemfire.internal.logging.LogService;
    +import com.gemstone.gemfire.management.internal.security.ResourceOperation;
    +
    +public class IntegratedSecurityService implements SecurityService {
    +
    +  private static Logger logger = 
LogService.getLogger(LogService.SECURITY_LOGGER_NAME);
    +
    +  private static SecurityService defaultInstance = new 
IntegratedSecurityService();
    +
    --- End diff --
    
    Can someone just call new IntegratedSecurityService()? If so, probably just 
create a private constructor here to prevent that.


---
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