Class PropertiesFileUsersIdentityManager
- java.lang.Object
-
- io.streamthoughts.azkarra.http.security.auth.InMemoryUserIdentityManager
-
- io.streamthoughts.azkarra.http.security.auth.PropertiesFileUsersIdentityManager
-
- All Implemented Interfaces:
Configurable
,UsersIdentityManager
public class PropertiesFileUsersIdentityManager extends InMemoryUserIdentityManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PropertiesFileUsersIdentityManager.PropertiesFileLoaderTask
Default thread scheduling periodic scans of the targeted file-system.
-
Constructor Summary
Constructors Constructor Description PropertiesFileUsersIdentityManager(String file, boolean debug)
Creates a newPropertiesFileUsersIdentityManager
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
startAutoReload(Duration reloadInterval)
void
stopAutoReload()
-
Methods inherited from class io.streamthoughts.azkarra.http.security.auth.InMemoryUserIdentityManager
addUsers, configure, deleteUsersByName, findUserByName, getUsers
-
-
-
-
Constructor Detail
-
PropertiesFileUsersIdentityManager
public PropertiesFileUsersIdentityManager(String file, boolean debug)
Creates a newPropertiesFileUsersIdentityManager
instance.- Parameters:
file
- the path of the file to load.debug
- is debug enable.
-
-
Method Detail
-
startAutoReload
public void startAutoReload(Duration reloadInterval)
-
stopAutoReload
public void stopAutoReload()
-
-