net.leanix.dropkit.oauth.models.UserRole Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leanix-dropkit Show documentation
Show all versions of leanix-dropkit Show documentation
Base functionality for leanIX dropwizard-based services
package net.leanix.dropkit.oauth.models;
import java.util.ArrayList;
import java.util.List;
/**
* User roles on account level.
*
*
*/
public enum UserRole {
SUPERADMIN, //this should not be applied to regular users
SYSTEM, //a system user for application instances,
APICLIENT,
ACCOUNTADMIN,
ACCOUNTUSER;
public static List asStringList() {
List strings = new ArrayList<>();
for (UserRole r : values()) {
strings.add(r.toString());
}
return strings;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy