Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9522

AppBlock ignores full qualified class name of PseudoAuthenticationHandler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      AuthenticationHandler can be either configured using fqcn or type. AppBlock checks for only the type simple and ignores the fqcn of PseudoAuthenticationHandler while checking whether ui is secured or not.

         * @param authHandler The short-name (or fully qualified class name) of the
         * authentication handler.
      

      AppBlock.java

          // check if UI is unsecured.
          String httpAuth = conf.get(CommonConfigurationKeys.HADOOP_HTTP_AUTHENTICATION_TYPE);
          this.unsecuredUI = (httpAuth != null) && httpAuth.equals("simple");
      

        Attachments

        1. YARN-9522-001.patch
          2 kB
          Prabhu Joseph
        2. YARN-9522-002.patch
          2 kB
          Prabhu Joseph

          Issue Links

            Activity

              People

              • Assignee:
                Prabhu Joseph Prabhu Joseph
                Reporter:
                Prabhu Joseph Prabhu Joseph
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: