X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.enterprise%2Fsrc%2Forg%2Fargeo%2Fosgi%2Fuseradmin%2FAggregatingAuthorization.java;h=6729a2c2df1167fa873c18ebbc6e14cb356e59ae;hb=31d7eccd2b0effdadaaa5b6349e5b6b6ea753e3c;hp=f270b8d89822bafa4db4a730fe3da9e07fb18751;hpb=e66b9893b0e511f8ab295e3cee42b7dc966f1597;p=lgpl%2Fargeo-commons.git 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..6729a2c2d 100644 --- a/org.argeo.enterprise/src/org/argeo/osgi/useradmin/AggregatingAuthorization.java +++ b/org.argeo.enterprise/src/org/argeo/osgi/useradmin/AggregatingAuthorization.java @@ -6,8 +6,6 @@ import java.util.Collection; import java.util.Collections; import java.util.List; -import javax.security.auth.x500.X500Principal; - import org.osgi.service.useradmin.Authorization; class AggregatingAuthorization implements Authorization { @@ -18,7 +16,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));