use of edu.stanford.bmir.protege.web.shared.user.CreateUserAccountAction in project webprotege by protegeproject.
the class CreateUserAccountExecutor method execute.
public void execute(UserId userId, EmailAddress emailAddress, String clearTextPassword, DispatchServiceCallback<CreateUserAccountResult> callback) {
Salt salt = saltProvider.get();
SaltedPasswordDigest saltedPasswordDigest = passwordDigestAlgorithm.getDigestOfSaltedPassword(clearTextPassword, salt);
dispatchServiceManager.execute(new CreateUserAccountAction(userId, emailAddress, saltedPasswordDigest, salt), callback);
}
Aggregations