Remove AuthenticationManagement

Closes #20
This commit is contained in:
Denis Natusch 2023-11-16 12:30:10 +01:00 committed by Simon Bruder
parent 9de857f4c2
commit 1faedf18a0
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -1,7 +1,6 @@
package catering.users; package catering.users;
import org.salespointframework.core.DataInitializer; import org.salespointframework.core.DataInitializer;
import org.salespointframework.useraccount.AuthenticationManagement;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
@ -15,7 +14,7 @@ class UserDataInitializer implements DataInitializer {
private static final Logger LOG = LoggerFactory.getLogger(UserDataInitializer.class); private static final Logger LOG = LoggerFactory.getLogger(UserDataInitializer.class);
private final UserManagement userManagement; private final UserManagement userManagement;
UserDataInitializer(UserManagement userManagement, AuthenticationManagement auth) { UserDataInitializer(UserManagement userManagement) {
Assert.notNull(userManagement, "UserRepository must not be null!"); Assert.notNull(userManagement, "UserRepository must not be null!");
this.userManagement = userManagement; this.userManagement = userManagement;
} }