KEYCLOAK-1375
This commit is contained in:
parent
43f2199d46
commit
b82502af1d
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ public class UserAttributeMapper extends AbstractIdentityProviderMapper {
|
|||
for (AttributeStatementType.ASTChoiceType choice : statement.getAttributes()) {
|
||||
AttributeType attr = choice.getAttribute();
|
||||
if (name != null && !name.equals(attr.getName())) continue;
|
||||
if (friendly != null && !name.equals(attr.getFriendlyName())) continue;
|
||||
if (friendly != null && !friendly.equals(attr.getFriendlyName())) continue;
|
||||
|
||||
List<Object> attributeValue = attr.getAttributeValue();
|
||||
if (attributeValue == null || attributeValue.isEmpty()) return null;
|
||||
|
|
Loading…
Reference in a new issue