support client login and calls to api through jQuery.

This commit is contained in:
Keith Woodlock
2012-05-18 02:46:29 +01:00
parent 93678bf9ce
commit d6e76390ba
88 changed files with 5923 additions and 201 deletions
@@ -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;
}
}