mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
implementation and use of user and group dao
This commit is contained in:
@@ -64,6 +64,7 @@ import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.WebApplicationException;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
import sonia.scm.user.xml.XmlUserDAO;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -144,7 +145,8 @@ public class ChangePasswordResource
|
||||
logger.info("password change for user {}", currentUser.getName());
|
||||
}
|
||||
|
||||
if (currentUser.getType().equals(XmlUserManager.TYPE))
|
||||
// TODO remove dependency to xml implementation
|
||||
if (currentUser.getType().equals(XmlUserDAO.TYPE))
|
||||
{
|
||||
User dbUser = userManager.get(currentUser.getName());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user