geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Smith (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-4045) Locator should enable PDX type registry
Date Fri, 01 Dec 2017 21:18:00 GMT
Dan Smith created GEODE-4045:
--------------------------------

             Summary: Locator should enable PDX type registry
                 Key: GEODE-4045
                 URL: https://issues.apache.org/jira/browse/GEODE-4045
             Project: Geode
          Issue Type: Improvement
          Components: locator
            Reporter: Dan Smith


Now that we have callbacks that are invoked on the locator like SecurityManager, it's possible
users may try to use PDX on the locator - for example reading data from a region in their
SecurityManager.

It looks like we intentionally disabled PDX on the locator based on this code in GemFireCacheImpl.initializePdxRegistry()
{code}
      if (this.getMyId().getVmKind() == DistributionManager.LOCATOR_DM_TYPE) {
        this.pdxRegistry = new TypeRegistry(this, true /*True means create a disabled registry*/);
      } else {
{code}

We should consider changing this code and always enabling PDX on the locator.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message