Uploaded image for project: 'Gazelle Security Suite'
  1. Gazelle Security Suite
  2. GSS-315

TlsCipherSuite and TlsProtocols are useless entities

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Component/s: TLS
    • Labels:
      None
    • Sprint:
      2016 - S4
    • Account:
      Maintenance 2016 (MAINTENANCE2016)

      Description

      TlsCipherSuite and TlsProtocol are entities that contain only an id and an element.

      It should be more efficient to directly store the element (ciphersuite or protocol) in the entity that needs it.

      Morevover it adds some complication :
      * There is one more join table to map container with real ciphersuite
      * the id of those TlsCiphersuite/Protocol must be managed. Currently, they are "AUTO" GeneratedValue (without sequence) and are the cause of problems during SQL migration.

      The best is to delete these entity, directly store ciphersuite or protocols in entities concerned and simplify the schema.

      For example List or Set of enumeration can be stored using :
      @ElementCollection
      @CollectionTable(name="tls_test_case_expectedalertdescriptions", joinColumns = @JoinColumn(name = "tls_test_case_id"))
      @Column(name="element")
      private Set<TlsAlertDescription> expectedAlertDescriptions;

        BigPicture - Work Breakdown Structure

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ceoche Cédric EOCHE-DUVAL
                Reporter:
                ceoche Cédric EOCHE-DUVAL
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  BigPicture - Skills

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Time Tracking

                      Estimated:
                      Original Estimate - 1 day, 7 hours
                      1d 7h
                      Remaining:
                      Time Spent - 1 day, 1 hour Remaining Estimate - 6 hours
                      6h
                      Logged:
                      Time Spent - 1 day, 1 hour Remaining Estimate - 6 hours
                      1d 1h

                        Potential Duplicates