[ 
https://issues.apache.org/jira/browse/KNOX-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Minder updated KNOX-697:
------------------------------
    Attachment: KNOX-697_001.patch

Have a patch for this.  Config ended up looking like this to be consistent with 
the "Default" identity-assertion provider.
{code:xml}
    <provider>
        <role>identity-assertion</role>
        <name>SwitchCase</name>
        <param>
            <name>principal.case</name>
            <value>lower</value>
        </param>
        <param>
            <name>group.principal.case</name>
            <value>upper</value>
        </param>
        <enabled>true</enabled>
    </provider>
{code}

> Identity asserter provider that supports case mapping for users and groups
> --------------------------------------------------------------------------
>
>                 Key: KNOX-697
>                 URL: https://issues.apache.org/jira/browse/KNOX-697
>             Project: Apache Knox
>          Issue Type: New Feature
>          Components: Server
>    Affects Versions: 0.9.0
>            Reporter: Kevin Minder
>             Fix For: Future
>
>         Attachments: KNOX-697_001.patch
>
>
> There have been numerous occasions where downstream ecosystem components have 
> required user and group names to be specific case.  Currently Knox does not 
> enforce the case of the user or group identity and will use whatever is 
> accepted by the authentication provider.  The request here is to add a new 
> identity-assertion provider that could be configured to do case mapping on 
> user and group names.  It might be configured in a topology file something 
> like what is shown below.
> {code:xml}
>     <provider>
>         <role>identity-assertion</role>
>         <name>SwitchCase</name>
>         <param name="user" value="upper"/>
>         <param name="group" value="upper"/>
>         <enabled>true</enabled>
>     </provider>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to