Use raw name instead of X500 name in aggregating user auth
authorMathieu Baudier <mbaudier@argeo.org>
Wed, 23 May 2018 08:33:11 +0000 (10:33 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Wed, 23 May 2018 08:33:11 +0000 (10:33 +0200)
org.argeo.enterprise/src/org/argeo/osgi/useradmin/AggregatingAuthorization.java

index f270b8d89822bafa4db4a730fe3da9e07fb18751..b450b729e6129364e4bd8197253e8392e917455a 100644 (file)
@@ -18,7 +18,7 @@ class AggregatingAuthorization implements Authorization {
 
        public AggregatingAuthorization(String name, String displayName,
                        Collection<String> systemRoles, String[] roles) {
-               this.name = new X500Principal(name).getName();
+               this.name = name;
                this.displayName = displayName;
                this.systemRoles = Collections.unmodifiableList(new ArrayList<String>(
                                systemRoles));