Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7464

Mark also ssl-session-cache-size and ssl-session-timeout attributes as deprecated in Undertow's https-listener

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR9
    • 7.1.0.DR8
    • Undertow
    • None

    Description

      Some of Undertow's https-listener attributes have been marked as deprecated recently due to the Elytron subsystem added into 7.1. Although there are still two attributes, that I think should be marked as deprecated but they have not been marked so yet. These are:

                  "ssl-session-cache-size" => {
                      "type" => INT,
                      "description" => "The maximum number of active SSL sessions",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
                  "ssl-session-timeout" => {
                      "type" => INT,
                      "description" => "The timeout for SSL sessions, in seconds",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "unit" => "SECONDS",
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "no-services"
                  },
      

      Both can be set via Elytron ssl-context:

      /subsystem=elytron/server-ssl-context=mytest:read-resource-description
      ...
                  "maximum-session-cache-size" => {
                      "type" => INT,
                      "description" => "The maximum number of SSL sessions to be cached.",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "default" => 0,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "resource-services"
                  },
      ...
                  "session-timeout" => {
                      "type" => INT,
                      "description" => "The timeout for SSL sessions.",
                      "expressions-allowed" => true,
                      "nillable" => true,
                      "default" => 0,
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "resource-services"
                  },
      ...
      

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: