You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case the user groups fetched for the same user are returned with different order though they are same set of groups, the corresponding generated AssumeRoleRequest will be different as the order of the mapped policy ARN list will be different based on current hash/equal methods. It could cause the STS credential cache (assumeRoleRequest -> token) not used effectively.
We can either sort the user groups, or more desirable, use a set instead of a list in AssumeRoleRequest.
The text was updated successfully, but these errors were encountered:
If AssumeRoleRequest.withPolicy(stsPolicy) resource include chinese, sdk will throw an exception.Need use URLEncoder.encode(fileKey.toString(),"UTF-8"); to thransfer will pass, advice this transfer add to SDK.
amazon-emr-user-role-mapper/emr-user-role-mapper-application/src/main/java/com/amazon/aws/emr/credentials/STSCredentialsProvider.java
Line 47 in e4a9c4d
In case the user groups fetched for the same user are returned with different order though they are same set of groups, the corresponding generated AssumeRoleRequest will be different as the order of the mapped policy ARN list will be different based on current hash/equal methods. It could cause the STS credential cache (assumeRoleRequest -> token) not used effectively.
We can either sort the user groups, or more desirable, use a set instead of a list in AssumeRoleRequest.
The text was updated successfully, but these errors were encountered: