You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/09/04 00:41:00 UTC

[jira] [Work logged] (KNOX-2412) Add Logout Link to Home Page for Select Authentication Providers

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

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

                Author: ASF GitHub Bot
            Created on: 04/Sep/20 00:40
            Start Date: 04/Sep/20 00:40
    Worklog Time Spent: 10m 
      Work Description: lmccay opened a new pull request #372:
URL: https://github.com/apache/knox/pull/372


   …oviders
   
   Change-Id: I963d526cc560d0e2e00745c9b42c7ad63ed29450
   
   (It is very **important** that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!)
   
   ## What changes were proposed in this pull request?
   
   * Logout Button on Homepage
   * Homepage Logout Configurable from gateway-site.xml
   * KNOXSSOUT service changed to be able to be hosted in arbitrary topologies - may break existing use of this service in a dedicated knoxssout.xml topology which was the original intent but it was never really documented as supported.
   * KNOX-SESSION API added to return authenticated user and optionally logoutUrl
   * A SessionInformation section added to the Homepage with a Welcome {username} and logout button
   * KNOXSSOUT and KNOX-SESSION added to homepage.xml topology by default
   * homePageLogoutEnabled defaults to true since the default KnoxSSO with form based IDP is supported.
   
   ## How was this patch tested?
   * Existing unit tests run
   * SessionResourceTest unit test added
   
   ![image](https://user-images.githubusercontent.com/2303672/92186654-79082900-ee25-11ea-932c-ffa6b93fc659.png)
   
   Please review [Knox Contributing Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow) before opening a pull request.
   


----------------------------------------------------------------
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:
users@infra.apache.org


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

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

> Add Logout Link to Home Page for Select Authentication Providers
> ----------------------------------------------------------------
>
>                 Key: KNOX-2412
>                 URL: https://issues.apache.org/jira/browse/KNOX-2412
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Homepage
>            Reporter: Larry McCay
>            Assignee: Larry McCay
>            Priority: Major
>             Fix For: 1.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> For some KnoxSSO providers/IDPs we can accomplish logout by just removing the KnoxSSO cookie. Now that we have a Home Page for Knox, we have somewhere to hang the logout link.
> This patch will add such a link as well as add KNOXSSOUT service to the relevant topology. Topology may be knoxsso or the homepage topology depending on CORS and the like.
> We do have the unauthenticated URLs feature in SSOCookieProvider in case we need it to get past the authentication provider of the hosting topology.



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