You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/04/05 21:56:00 UTC

[jira] [Commented] (GEODE-10053) Prevent reading property files every time SSL config is created

    [ https://issues.apache.org/jira/browse/GEODE-10053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17517720#comment-17517720 ] 

ASF subversion and git services commented on GEODE-10053:
---------------------------------------------------------

Commit c2467363452aa73619778a28e4989c62ad482c51 in geode's branch refs/heads/develop from Nabarun Nag
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c246736345 ]

GEODE-10053: Use stored DistributionConfig to create SSL configurations (#7366)

* While creating SSLConfig no new DistributionConfigImpl is created.
* Now, the DistributionConfig is taken from the InternalLocator class.

> Prevent reading property files every time SSL config is created
> ---------------------------------------------------------------
>
>                 Key: GEODE-10053
>                 URL: https://issues.apache.org/jira/browse/GEODE-10053
>             Project: Geode
>          Issue Type: Bug
>          Components: security
>            Reporter: Nabarun Nag
>            Assignee: Nabarun Nag
>            Priority: Major
>              Labels: needsTriage, pull-request-available
>
> Situation:
> 1. Currently, when we create a new SSL config, we read the properties stored in the LocatorLauncher class.
> 2. Using these properties, the DistributionConfigImpl is created which is used to create the SSLConfig
>  
> Problem:
>  # While creating the DistributionConfig from properties, it reads the properties file and security files and creates a new class everytime.
>  # This is a bit inefficient as the DistributedConfigImpl is already stored in the InternalLocator. 
>  
> Solution:
> Use InternalLocator's DistributedConfigurationImpl.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)