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

Elytron SASL factories don't follow contract from corresponding Java interfaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.1.0.Beta19
    • None
    • None

    Description

      Java SaslClientFactory and SaslServerFactory interfaces define where null parameters or null return values are allowed and which Exception types can be used in methods. Elytron implementation of SASL mechanisms doesn't follow this contract, which results in NullPointerExceptions.

      E.g.

      java.lang.NullPointerException
      	at org.wildfly.security.sasl.scram.ScramSaslClientFactory.getMechanismNames(ScramSaslClientFactory.java:119)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              jkalina@redhat.com Jan Kalina (Inactive)
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: