[ 
https://issues.apache.org/jira/browse/KNOX-718?focusedWorklogId=369341&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-369341
 ]

ASF GitHub Bot logged work on KNOX-718:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jan/20 20:28
            Start Date: 09/Jan/20 20:28
    Worklog Time Spent: 10m 
      Work Description: risdenk commented on pull request #234: KNOX-718 - 
KnoxSSO login page doesn't display any feedback on error
URL: https://github.com/apache/knox/pull/234
 
 
   ## What changes were proposed in this pull request?
   
   Provide feedback on the KnoxSSO login page when an error occurs dispatching 
to the backend.
   
   ## How was this patch tested?
   
   * `mvn -T.5C verify -Ppackage,release -Dshellcheck`
   * Checked with KnoxSSO login against WebHDFS that if no WebHDFS 500 error 
and message is shown to end user.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 369341)
    Remaining Estimate: 0h
            Time Spent: 10m

> KnoxSSO login page doesn't display any feedback on error
> --------------------------------------------------------
>
>                 Key: KNOX-718
>                 URL: https://issues.apache.org/jira/browse/KNOX-718
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: KnoxSSO
>            Reporter: Krishna Pandey
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: 1.4.0
>
>         Attachments: Screen Shot 2020-01-09 at 1.54.51 PM.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> User does not get any warning for rejection due to whitelist when logging 
> through KnoxSSO form based authentication. Refer logs below from gateway.log
> {code:java}
> "2016-06-21 18:26:02,074 WARN service.knoxsso (WebSSOResource.java:init(89)) 
> - The SSO cookie SecureOnly flag is set to FALSE and is therefore insecure.
>  2016-06-21 18:26:02,076 INFO service.knoxsso 
> (WebSSOResource.java:getCookieValue(265)) - Unable to find cookie with name: 
> original-url
>  2016-06-21 18:26:02,077 ERROR service.knoxsso 
> (WebSSOResource.java:getAuthenticationToken(159)) - The original URL: 
> http://<ranger_host>:6080/ for redirecting back after authentication is not 
> valid according to the configured whitelist: 
> ^https?:\/\/(localhost|127\.0\.0\.1|0:0:0:0:0:0:0:1|::1):[0-9].*$. See 
> documentation for KnoxSSO Whitelisting."{code}
> Here is an example of a webhdfs dispatch failing since WebHDFS is down:
> !Screen Shot 2020-01-09 at 1.54.51 PM.png|width=583,height=738!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to