Interface UserStore.User
-
- Enclosing interface:
- UserStore
public static interface UserStore.UserRepresentation of a single user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Stringlogin()Get login name.char[]password()Get password of the user.default Collection<String>roles()Get set of roles the user is in.
-
-
-
Method Detail
-
login
String login()
Get login name.- Returns:
- login of the user
-
password
char[] password()
Get password of the user. The password must be provided in clear text, as we may need to create a digest based on the password and other (variable) values for digest authentication.- Returns:
- password
-
roles
default Collection<String> roles()
Get set of roles the user is in.- Returns:
- roles of this user (or empty if not supported).
-
-