support client login and calls to api through jQuery.
This commit is contained in:
@@ -9,6 +9,7 @@ import javax.xml.bind.annotation.XmlRootElement;
|
||||
public class AuthenticatedUserData {
|
||||
|
||||
private String username;
|
||||
private boolean authenticated = false;
|
||||
private Collection<String> permissions = new ArrayList<String>();
|
||||
|
||||
protected AuthenticatedUserData() {
|
||||
@@ -34,4 +35,12 @@ public class AuthenticatedUserData {
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public boolean isAuthenticated() {
|
||||
return authenticated;
|
||||
}
|
||||
|
||||
public void setAuthenticated(boolean authenticated) {
|
||||
this.authenticated = authenticated;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user