Class UserDirectoryServiceImpl
java.lang.Object
com.foreach.across.modules.user.services.UserDirectoryServiceImpl
- All Implemented Interfaces:
UserDirectoryService
- Since:
- 2.0.0
- Author:
- Arne Vandamme
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of user directories that should be used for authentication, in authentication precedence order.Get the default directory that should be used for all principals that do not have a specific directory set.save(UserDirectory userDirectory) Create or update a directory instance.
-
Constructor Details
-
UserDirectoryServiceImpl
public UserDirectoryServiceImpl()
-
-
Method Details
-
getDefaultUserDirectory
Description copied from interface:UserDirectoryServiceGet the default directory that should be used for all principals that do not have a specific directory set. Usually the default internal directory is returned. This is the initial user directory created with idUserDirectory.DEFAULT_INTERNAL_DIRECTORY_ID. It should never be removed.- Specified by:
getDefaultUserDirectoryin interfaceUserDirectoryService- Returns:
- instance
-
getActiveUserDirectories
Description copied from interface:UserDirectoryServiceGet the list of user directories that should be used for authentication, in authentication precedence order.- Specified by:
getActiveUserDirectoriesin interfaceUserDirectoryService- Returns:
- active user directories sorted according to their order property
-
getUserDirectories
- Specified by:
getUserDirectoriesin interfaceUserDirectoryService- Returns:
- all user directories
-
save
Description copied from interface:UserDirectoryServiceCreate or update a directory instance.- Specified by:
savein interfaceUserDirectoryService- Parameters:
userDirectory- dto- Returns:
- persisted entity
-