Compare commits
1 Commits
master
...
realm_role
Author | SHA1 | Date |
---|---|---|
Alfredo Oliviero | 470e470450 |
|
@ -8,6 +8,7 @@ public class Owner {
|
||||||
|
|
||||||
private String clientId;
|
private String clientId;
|
||||||
private List<String> roles = new ArrayList<String>();
|
private List<String> roles = new ArrayList<String>();
|
||||||
|
private List<String> realm_roles = new ArrayList<String>();
|
||||||
|
|
||||||
boolean externalClient;
|
boolean externalClient;
|
||||||
|
|
||||||
|
@ -34,6 +35,8 @@ public class Owner {
|
||||||
this.application = application;
|
this.application = application;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Owner(String clientId, List<String> roles, String email, String firstName, String lastName,boolean external, boolean application) {
|
public Owner(String clientId, List<String> roles, String email, String firstName, String lastName,boolean external, boolean application) {
|
||||||
super();
|
super();
|
||||||
this.clientId = clientId;
|
this.clientId = clientId;
|
||||||
|
@ -45,6 +48,11 @@ public class Owner {
|
||||||
this.application = application;
|
this.application = application;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Owner(String clientId, List<String> roles, List<String> realm_roles, String email, String firstName, String lastName,boolean external, boolean application) {
|
||||||
|
this(clientId, roles, email, firstName, lastName, external, application);
|
||||||
|
this.realm_roles = realm_roles;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isApplication() {
|
public boolean isApplication() {
|
||||||
return application;
|
return application;
|
||||||
}
|
}
|
||||||
|
@ -57,6 +65,11 @@ public class Owner {
|
||||||
return roles;
|
return roles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<String> getRealmRoles() {
|
||||||
|
return realm_roles;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public String getEmail() {
|
public String getEmail() {
|
||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue