Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2015-04-28 21:57:18 -0400
committerjmisinco2015-04-28 21:57:18 -0400
commit4ca21719d44791d7ca25cf665c00cb69bbb34a74 (patch)
tree198f0751c2b6809dc97dcc62e9cf9773c74185e9 /plugins/org.eclipse.osee.account.rest.model
parent156763e5f94e4167040f7c172ffa3ea057c7c88e (diff)
downloadorg.eclipse.osee-4ca21719d44791d7ca25cf665c00cb69bbb34a74.tar.gz
org.eclipse.osee-4ca21719d44791d7ca25cf665c00cb69bbb34a74.tar.xz
org.eclipse.osee-4ca21719d44791d7ca25cf665c00cb69bbb34a74.zip
feature[ats_ATS192531]: Enable OAuth for Coverage
Diffstat (limited to 'plugins/org.eclipse.osee.account.rest.model')
-rw-r--r--plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java
index 072b368812..62b5ee1c9a 100644
--- a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java
+++ b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.osee.account.rest.model;
+import java.util.Set;
import javax.xml.bind.annotation.XmlRootElement;
import org.eclipse.osee.framework.jdk.core.type.Identity;
@@ -25,6 +26,7 @@ public class AccountInfoData implements Identity<String> {
private String uuid;
private long accountId;
private boolean isActive;
+ private Set<String> roles;
public String getName() {
return name;
@@ -46,6 +48,10 @@ public class AccountInfoData implements Identity<String> {
return email;
}
+ public Set<String> getRoles() {
+ return roles;
+ }
+
public void setEmail(String email) {
this.email = email;
}
@@ -75,6 +81,10 @@ public class AccountInfoData implements Identity<String> {
this.uuid = uuid;
}
+ public void setRoles(Set<String> roles) {
+ this.roles = roles;
+ }
+
@Override
public int hashCode() {
return getGuid().hashCode();

Back to the top