public class PasswordAlgorithmFactory extends Object
| Constructor and Description |
|---|
PasswordAlgorithmFactory(Map<String,PasswordAlgorithm> passwordAlgorithms,
PasswordAlgorithm defaultPasswordAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
PasswordAlgorithm |
defaultPasswordAlgorithm() |
PasswordAlgorithm |
forName(String name) |
PasswordAlgorithm |
forPassword(String hashedPassword) |
@Inject public PasswordAlgorithmFactory(Map<String,PasswordAlgorithm> passwordAlgorithms, PasswordAlgorithm defaultPasswordAlgorithm)
@Nullable public PasswordAlgorithm forPassword(String hashedPassword)
@Nullable public PasswordAlgorithm forName(String name)
public PasswordAlgorithm defaultPasswordAlgorithm()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.