From: Mathieu Baudier Date: Wed, 23 May 2018 08:33:11 +0000 (+0200) Subject: Use raw name instead of X500 name in aggregating user auth X-Git-Tag: argeo-commons-2.1.74~22 X-Git-Url: https://git.argeo.org/?p=lgpl%2Fargeo-commons.git;a=commitdiff_plain;h=c7cbd71ffe624ac95a76037086d3448b898565e4 Use raw name instead of X500 name in aggregating user auth --- diff --git a/org.argeo.enterprise/src/org/argeo/osgi/useradmin/AggregatingAuthorization.java b/org.argeo.enterprise/src/org/argeo/osgi/useradmin/AggregatingAuthorization.java index f270b8d89..b450b729e 100644 --- a/org.argeo.enterprise/src/org/argeo/osgi/useradmin/AggregatingAuthorization.java +++ b/org.argeo.enterprise/src/org/argeo/osgi/useradmin/AggregatingAuthorization.java @@ -18,7 +18,7 @@ class AggregatingAuthorization implements Authorization { public AggregatingAuthorization(String name, String displayName, Collection systemRoles, String[] roles) { - this.name = new X500Principal(name).getName(); + this.name = name; this.displayName = displayName; this.systemRoles = Collections.unmodifiableList(new ArrayList( systemRoles));