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

AppBlock ignores full qualified class name of PseudoAuthenticationHandler

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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-002.patch
          2 kB
          Prabhu Joseph
        2. YARN-9522-001.patch
          2 kB
          Prabhu Joseph

        Issue Links

          Activity

            People

            • Assignee:
              prabhujoseph Prabhu Joseph
              Reporter:
              prabhujoseph Prabhu Joseph

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment