public interface User extends Serializable
Modifier and Type | Method and Description |
---|---|
static User |
forLogin(String login) |
static User |
forLoginAndRoles(String login,
String... roles) |
default boolean |
isInRole(String expectedRole) |
String |
login() |
default String |
name() |
String[] |
roles() |
Copyright © 2015. All Rights Reserved.