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 2021/01/26 07:47:00 UTC

[jira] [Work logged] (KNOX-2532) Unable to set 'None' for the SwitchCase identity provider on the Admin UI.

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

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

                Author: ASF GitHub Bot
            Created on: 26/Jan/21 07:46
            Start Date: 26/Jan/21 07:46
    Worklog Time Spent: 10m 
      Work Description: smolnar82 opened a new pull request #400:
URL: https://github.com/apache/knox/pull/400


   ## What changes were proposed in this pull request?
   
   Modified the Admin UI to allow entering `none` in the SwichCase shared provider configuration for the `Principal Case` and `Group Principal Case` input fields.
   
   ## How was this patch tested?
   
   Manually confirmed it's working:
   <img width="1675" alt="Screen Shot 2021-01-26 at 8 41 14 AM" src="https://user-images.githubusercontent.com/34065904/105815132-c773bb00-5fb2-11eb-975a-1d123a3d7278.png">
   <img width="1676" alt="Screen Shot 2021-01-26 at 8 41 31 AM" src="https://user-images.githubusercontent.com/34065904/105815140-ca6eab80-5fb2-11eb-9be5-5d3f008540e7.png">
   ```
   $ cat conf/shared-providers/test.json 
   {
     "providers": [
       {
         "role": "identity-assertion",
         "name": "SwitchCase",
         "enabled": "true",
         "params": {
           "principal.case": "none",
           "group.principal.case": "none"
         }
       }
     ]
   }
   ```


----------------------------------------------------------------
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: 542054)
    Remaining Estimate: 0h
            Time Spent: 10m

> Unable to set 'None' for the SwitchCase identity provider on the Admin UI.
> --------------------------------------------------------------------------
>
>                 Key: KNOX-2532
>                 URL: https://issues.apache.org/jira/browse/KNOX-2532
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 1.6.0
>
>         Attachments: Screen Shot 2021-01-25 at 6.02.44 PM.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the [user guide|http://knox.apache.org/books/knox-1-5-0/user-guide.html#SwitchCase+Identity+Assertion+Provider], it's clearly indicated that the SwitchCase provider can bet set to 'lower', 'upper' or 'none'.
> However, on the Admin UI, 'none' is NOT [supported|https://github.com/smolnar82/knox/blob/master/gateway-admin-ui/admin-ui/app/provider-config-wizard/switchcase-idassertion-provider-config.ts#L22].



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