UserStore.User| Constructor and Description |
|---|
ConfigUserStore() |
| Modifier and Type | Method and Description |
|---|---|
static ConfigUserStore |
create(Config config)
Create an instance from config.
|
Optional<UserStore.User> |
user(String login)
Get user based on login.
|
public static ConfigUserStore create(Config config)
users: [
{
login = "jack"
password = "${CLEAR=password}"
roles = ["user", "admin"]
},
{
login = "jill"
# master password is "jungle", password is "password"
password = "${AES=3XQ8A1RszE9JbXl+lUnnsX0gakuqjnTyp8YJWIAU1D3SiM2TaSnxd6U0/LjrdJYv}"
roles = ["user"]
}
]
config - to load this user store fromUserStore instanceCopyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.