X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.util%2Fsrc%2Forg%2Fargeo%2Fosgi%2Fuseradmin%2FAuthenticatingUser.java;h=ba1f3f753470e530fe820c7991e9d4b8483e7812;hb=138e686fbf65683c3c94a52f1cfbaf8e02362e19;hp=01db8be9895b9f3548728f2b6d5c580f684424e4;hpb=fba42be03bc7ec07d464f8942f7dfa2e5f0d6f17;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.util/src/org/argeo/osgi/useradmin/AuthenticatingUser.java b/org.argeo.util/src/org/argeo/osgi/useradmin/AuthenticatingUser.java index 01db8be98..ba1f3f753 100644 --- a/org.argeo.util/src/org/argeo/osgi/useradmin/AuthenticatingUser.java +++ b/org.argeo.util/src/org/argeo/osgi/useradmin/AuthenticatingUser.java @@ -5,6 +5,7 @@ import java.util.Hashtable; import javax.naming.ldap.LdapName; +import org.argeo.util.directory.DirectoryDigestUtils; import org.osgi.service.useradmin.User; /** @@ -38,7 +39,7 @@ public class AuthenticatingUser implements User { this.name = name; credentials = new Hashtable<>(); credentials.put(SHARED_STATE_NAME, name); - byte[] pwd = DigestUtils.charsToBytes(password); + byte[] pwd = DirectoryDigestUtils.charsToBytes(password); credentials.put(SHARED_STATE_PWD, pwd); }