|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Principal
A Principal may participate in entitlements (authorization). A Principal may also posess administrative roles for the system.
The identifier pattern for all principal types is "name"
.
A name is concidered to be unique across the system for all
principal types.
Field Summary | |
---|---|
static int |
NAME_LEN_LIMIT
User and Group names can be no longer then this |
static int |
TYPE_ADMIN
Admin internal type. |
static int |
TYPE_GROUP
Group internal type |
static java.lang.String |
TYPE_LABEL_ADMIN
Display String for Admin type |
static java.lang.String |
TYPE_LABEL_GROUP
Display String for Group type |
static java.lang.String |
TYPE_LABEL_USER
Display String for User type |
static int |
TYPE_USER
User internal type. |
Fields inherited from interface org.teiid.adminapi.AdminObject |
---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
Method Summary | |
---|---|
int |
getType()
Get the Principal type for this principal. |
java.lang.String |
getTypeLabel()
Get the Principal type String for this principal. |
Methods inherited from interface org.teiid.adminapi.AdminObject |
---|
getIdentifier, getName, getProperties, getPropertyValue |
Field Detail |
---|
static final int TYPE_USER
static final int TYPE_GROUP
static final int TYPE_ADMIN
static final java.lang.String TYPE_LABEL_USER
static final java.lang.String TYPE_LABEL_GROUP
static final java.lang.String TYPE_LABEL_ADMIN
static final int NAME_LEN_LIMIT
Method Detail |
---|
int getType()
java.lang.String getTypeLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |