Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18428

Implement/override equals and hashCode methods in the ServerEncryptionOptions class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.0-alpha1, 5.0
    • Local/Config

    Description

      We have equals and hashCode  methods in EncryptionOptions object but not (overridden/extended) in ServerEncryptionOptions.

      Code is using the EncryptionOptions as the key in the ConcurrentHashMap in the SSLFactory.java.  Hence technically we must have a equals/hashCode override in the ServerEncryptionOptions to account for fields that matter additionally (e.g. outbound_keystore/password). 

      We discussed this over the cassandra-dev slack channel and it seems agreeable to make this change.

      Attachments

        Issue Links

          Activity

            People

              maulin.vasavada Maulin Vasavada
              maulin.vasavada Maulin Vasavada
              Maulin Vasavada
              Brandon Williams, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h