added global roles

This commit is contained in:
lucio 2024-05-08 11:41:35 +02:00
parent 5a67408ad0
commit 430239c239
1 changed files with 18 additions and 0 deletions

View File

@ -9,6 +9,8 @@ public class Owner {
private String clientId;
private List<String> roles = new ArrayList<String>();
private List<String> globalRoles = new ArrayList<String>();
boolean externalClient;
private String email;
@ -44,6 +46,18 @@ public class Owner {
this.externalClient = external;
this.application = application;
}
public Owner(String clientId, List<String> roles, List<String> globalRoles, String email, String firstName, String lastName,boolean external, boolean application) {
super();
this.clientId = clientId;
this.roles = roles;
this.globalRoles = globalRoles;
this.email = email;
this.firstName = firstName;
this.lastName = lastName;
this.externalClient = external;
this.application = application;
}
public boolean isApplication() {
return application;
@ -56,6 +70,10 @@ public class Owner {
public List<String> getRoles() {
return roles;
}
public List<String> getGlobalRoles() {
return globalRoles;
}
public String getEmail() {
return email;