Package org.xbricks.heimdall.services
Class CreateUsersService
java.lang.Object
org.xbricks.heimdall.services.CreateUsersService
- All Implemented Interfaces:
ICreateUsersService
-
Constructor Summary
ConstructorDescriptionCreateUsersService
(UserService userService, RoleService roleService, User_infoRepository inforepository, UserRepository userrepository) -
Method Summary
Modifier and TypeMethodDescriptionboolean
anonymiseUser
(user_info user) boolean
createNewLogin
(users user) boolean
createNewUser
(user_info user) static org.slf4j.Logger
static void
setLogger
(org.slf4j.Logger logger) boolean
void
updateAuthoritiesForOne
(String username, List<authorities> authorities)
-
Constructor Details
-
CreateUsersService
public CreateUsersService(UserService userService, RoleService roleService, User_infoRepository inforepository, UserRepository userrepository)
-
-
Method Details
-
createNewUser
- Specified by:
createNewUser
in interfaceICreateUsersService
-
udateUser
- Specified by:
udateUser
in interfaceICreateUsersService
-
anonymiseUser
- Specified by:
anonymiseUser
in interfaceICreateUsersService
-
createNewLogin
- Specified by:
createNewLogin
in interfaceICreateUsersService
-
updateAuthoritiesForOne
- Specified by:
updateAuthoritiesForOne
in interfaceICreateUsersService
-
getLogger
public static org.slf4j.Logger getLogger() -
setLogger
public static void setLogger(org.slf4j.Logger logger)
-