public class LoginInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static LoginInfo |
ANONYNMOUS |
protected Set<String> |
groups |
protected boolean |
isAdministrator |
protected String |
username |
Constructor and Description |
---|
LoginInfo(String username) |
LoginInfo(String username,
Set<String> groups) |
LoginInfo(String username,
Set<String> groups,
boolean isAdministrator) |
Modifier and Type | Method and Description |
---|---|
String[] |
getGroups() |
String |
getUsername() |
boolean |
hasGroup(String group) |
boolean |
isAdministrator() |
public static final LoginInfo ANONYNMOUS
protected boolean isAdministrator
public boolean isAdministrator()
public String getUsername()
Copyright © 2016 Nuxeo SA. All rights reserved.