[
https://issues.apache.org/jira/browse/YARN-9522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836595#comment-16836595
]
Giovanni Matteo Fumarola commented on YARN-9522:
------------------------------------------------
Thanks [~Prabhu Joseph].
Can you add an additional set of parenthesis to make the statements more
readable?
e.g. ( (c1) && (c2)) || c3;
> AppBlock ignores full qualified class name of PseudoAuthenticationHandler
> -------------------------------------------------------------------------
>
> Key: YARN-9522
> URL: https://issues.apache.org/jira/browse/YARN-9522
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 3.2.0
> Reporter: Prabhu Joseph
> Assignee: Prabhu Joseph
> Priority: Minor
> Attachments: YARN-9522-001.patch
>
>
> {{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.
> {code}
> * @param authHandler The short-name (or fully qualified class name) of the
> * authentication handler.
> {code}
> *AppBlock.java*
> {code}
> // check if UI is unsecured.
> String httpAuth =
> conf.get(CommonConfigurationKeys.HADOOP_HTTP_AUTHENTICATION_TYPE);
> this.unsecuredUI = (httpAuth != null) && httpAuth.equals("simple");
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]