Module org.elasticsearch.security
Class FileUserPasswdStore
java.lang.Object
org.elasticsearch.xpack.security.authc.file.FileUserPasswdStore
-
Constructor Summary
ConstructorsConstructorDescriptionFileUserPasswdStore(RealmConfig config, ResourceWatcherService watcherService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(Runnable listener) Parses the users file.static PathresolveFile(Environment env) booleanuserExists(String username) intverifyPassword(String username, SecureString password, Supplier<User> user) static void
-
Constructor Details
-
FileUserPasswdStore
-
-
Method Details
-
addListener
-
usersCount
public int usersCount() -
verifyPassword
public AuthenticationResult<User> verifyPassword(String username, SecureString password, Supplier<User> user) -
userExists
-
resolveFile
-
parseFile
public static Map<String,char[]> parseFile(Path path, @Nullable org.apache.logging.log4j.Logger logger, Settings settings) Parses the users file. Returnsnull, if theusersfile does not exist. -
writeFile
-