[AAA-103] idpmapping will failed for the case sensitivity Created: 18/Jun/16 Updated: 21/Mar/19 Resolved: 22/Jun/16 |
|
| Status: | Resolved |
| Project: | aaa |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | huangqingxin | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6082 |
| Description |
|
In the file of SssdClaimAuth.java L149-156 if (mapped.containsKey("Roles")) { } The code will checked key "Roles" where the word begin with upper letter. If mapping_rule_file contains "Roles", then will get the value according the key "roles" where the word begin with lower letter, but it will failed. And if the mapping_rule_file does not contains key "Role" where the word begin with upper letter, then the cb will not have the value of role. when claim_builder begins to build claim, the missing of role will cause a exception and fail. |
| Comments |
| Comment by Suvitha Balu [ 22/Jun/16 ] |