Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-124

Java 8+ supports unbound SASL servers; GSSAPI and DIGEST-MD5 both use this value

    XMLWordPrintable

Details

    • Task
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 1.2.0.Beta10
    • 1.2.0.Beta11
    • SASL
    • None

    Description

      Since Java 8, the SaslServerFactory interface has been changed so that the serverName may be null. If null, the server name is considered "unbound" and the client can select what server name it wants to use.

      The release notes say:

      SASL service for multiple host names: When creating a SASL server, the server name can be set to null to denote an unbound server, which means a client can request for the service using any server name. After a context is established, the server can retrieve the name as a negotiated property with the key name SASL.BOUND_SERVER_NAME. See RFE 7110803.

      The updated JavaDoc says:

      serverName - The fully qualified host name of the server to authenticate to, or null if the server is not bound to any specific host name. If the mechanism does not allow an unbound server, a SaslException will be thrown.

      The RFE link is: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7110803

      The two SASL mechanisms in Elytron that would be impacted by this are DIGEST-MD5 and GSSAPI.

      Attachments

        Activity

          People

            jkalina@redhat.com Jan Kalina (Inactive)
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: