Merge pull request #3486 from hmlnarik/KEYCLOAK-3488

KEYCLOAK-3488 Fix typo in SamlPrincipal
This commit is contained in:
Stian Thorgersen 2016-11-16 12:21:50 +01:00 committed by GitHub
commit 65136fabdd

View file

@ -105,7 +105,7 @@ public class SamlPrincipal implements Serializable, Principal {
* @return
*/
public List<String> getFriendlyAttributes(String friendlyName) {
List<String> list = friendlyAttributes.get(name);
List<String> list = friendlyAttributes.get(friendlyName);
if (list != null) {
return Collections.unmodifiableList(list);
} else {