|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrincipalReference
This class contains reference information for a Principal
. A principal contains a union of information found in a User
and a Group
.
Field Summary | |
---|---|
static java.lang.String |
PRINCIPALTYPE_GROUP
Group principal type. |
static java.lang.String |
PRINCIPALTYPE_SERVICE
Service principal type. |
static java.lang.String |
PRINCIPALTYPE_SPECIAL
Deprecated. Use PrincipalReference.PRINCIPALTYPE_SYSTEM or PrincipalReference.PRINCIPALTYPE_SERVICE instead. |
static java.lang.String |
PRINCIPALTYPE_SYSTEM
System principal type. |
static java.lang.String |
PRINCIPALTYPE_USER
User principal type. |
static java.lang.String |
STATUS_CURRENT
The principal is current (active in the system). |
static java.lang.String |
STATUS_OBSOLETE
The principal is obsolete (deleted from the system). |
Method Summary | |
---|---|
java.lang.String |
getCanonicalName()
Retrieves the canonical name of this principal. |
java.lang.String |
getCommonName()
Retrieves the common (display) name of this principal. |
java.lang.String |
getDomainCommonName()
Retrieves the common (display) name of the domain associated with this principal. |
java.lang.String |
getDomainName()
Retrieves the canonical name of the domain associated with this principal. |
java.lang.String |
getEmail()
Retrieves the primary email identifier associated with this principal. |
java.lang.String |
getOid()
Retrieves the principal identifier. |
java.lang.String |
getOrg()
Retrieves the organization to which the principal belongs. |
java.lang.String |
getPrincipalType()
Retrieves the principal type. |
java.lang.String |
getStatus()
Retrieves the principal's status. |
int |
getVisibility()
Retrieves the visibility level of the Principal. |
boolean |
isSystem()
Determines whether this is a system principal. |
void |
setCanonicalName(java.lang.String canonicalName)
Sets the principal's canonical name. |
void |
setCommonName(java.lang.String commonName)
Sets the principal's common name. |
void |
setDomainName(java.lang.String domainName)
Sets the principal's domain name. |
void |
setEmail(java.lang.String email)
Sets the principal's email identifier. |
void |
setOid(java.lang.String oid)
Sets the principal's identifier. |
void |
setOrg(java.lang.String org)
Sets the principal's organization. |
void |
setPrincipalType(java.lang.String principalType)
Sets the principal's type. |
void |
setStatus(java.lang.String status)
Sets the principal's status. |
Field Detail |
---|
static final java.lang.String STATUS_CURRENT
static final java.lang.String STATUS_OBSOLETE
static final java.lang.String PRINCIPALTYPE_GROUP
static final java.lang.String PRINCIPALTYPE_SERVICE
static final java.lang.String PRINCIPALTYPE_SPECIAL
PrincipalReference.PRINCIPALTYPE_SYSTEM
or PrincipalReference.PRINCIPALTYPE_SERVICE
instead.
static final java.lang.String PRINCIPALTYPE_SYSTEM
static final java.lang.String PRINCIPALTYPE_USER
Method Detail |
---|
java.lang.String getCanonicalName()
{getCanonicalName(), getDomainName()}
uniquely identifies the principal.
java.lang.String getCommonName()
java.lang.String getDomainName()
java.lang.String getDomainCommonName()
java.lang.String getOid()
java.lang.String getPrincipalType()
java.lang.String getStatus()
java.lang.String getEmail()
java.lang.String getOrg()
int getVisibility()
void setCommonName(java.lang.String commonName)
commonName
- The principal's common name.void setStatus(java.lang.String status)
status
- The principal's status.void setDomainName(java.lang.String domainName)
domainName
- The principal's domain name.void setCanonicalName(java.lang.String canonicalName)
canonicalName
- The principal's canonical name.void setOid(java.lang.String oid)
oid
- The principal's identifier.void setPrincipalType(java.lang.String principalType)
principalType
- The principal's type.void setEmail(java.lang.String email)
email
- The principal's email identifier.void setOrg(java.lang.String org)
org
- The principal's organization.boolean isSystem()
true
if this is a system principal, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |