Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5910

Logging exception when custom AuthenticatorFactory not found

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: None
    • Labels:

      Description

      We need to log the exception when any of custom AuthenticatorFactory fails to be instansiated in ClientAuthenticatorProvider constructor. We are doing this to allow drill to use other available AuthenticatorFactory
      Steps to repoduce:
      1) Configure plain authentication
      2) Add
      -Ddrill.customAuthFactories=org.apache.drill.exec.rpc.security.maprsasl.MapRSaslFactory to SQLLINE_JAVA_OPTS or another class that is not present in classpath.
      3) Run sqlline and connect to drillbit

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                volodymyr.tkach Volodymyr Tkach
                Reporter:
                volodymyr.tkach Volodymyr Tkach
                Reviewer:
                Vlad Rozov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: