support 'ldap:user' variable replacement properly (#10391)

also update `ldap.go` examples with latest
minio-go changes

Fixes #10367
This commit is contained in:
Harshavardhana
2020-08-31 23:56:22 -07:00
committed by GitHub
parent 9ffad7fceb
commit 4b6585d249
4 changed files with 36 additions and 26 deletions

View File

@@ -61,8 +61,7 @@ const (
parentClaim = "parent"
// LDAP claim keys
ldapUser = "ldapUser"
ldapUserPolicyVariable = "ldap:user"
ldapUser = "ldapUser"
)
// stsAPIHandlers implements and provides http handlers for AWS STS API.