From c7cbd71ffe624ac95a76037086d3448b898565e4 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Wed, 23 May 2018 10:33:11 +0200 Subject: [PATCH] Use raw name instead of X500 name in aggregating user auth --- .../src/org/argeo/osgi/useradmin/AggregatingAuthorization.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2