| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SEPARATOR |
static int |
TYPE_GROUP
TYPE_GROUP Int identifier for principal type: group, value: 3.
|
static int |
TYPE_ROLE
TYPE_ROLE Int identifier for principal type: role, value: 2.
|
static int |
TYPE_USER
TYPE_USER Int identifier for principal type: user, value: 1.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the principal's description.
|
java.lang.String |
getDisplayName()
get display name of the principal.
|
java.lang.String |
getOrganization()
get the organization that principal belongs to.
|
int |
getType()
Gets the principal's type.
|
static final java.lang.String SEPARATOR
static final int TYPE_USER
static final int TYPE_ROLE
static final int TYPE_GROUP
java.lang.String getDescription()
int getType()
java.lang.String getOrganization()
jet.server.api.admin.security.JOrganization JOrganization}java.lang.String getDisplayName()
organization is not null,
return organization + SEPARATOR + name, otherwise return value is same as name.