|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrincipalReference
The PrincipalReference
class contains reference information for a Principal
.
A principal contains a union of information found in a User
and a Group
.
Field Summary | |
---|---|
static String |
PRINCIPALTYPE_GROUP
Group principal type. |
static String |
PRINCIPALTYPE_SERVICE
Service principal type. |
static String |
PRINCIPALTYPE_SPECIAL
Deprecated. Use PrincipalReference.PRINCIPALTYPE_SYSTEM or PrincipalReference.PRINCIPALTYPE_SERVICE instead. |
static String |
PRINCIPALTYPE_SYSTEM
System principal type. |
static String |
PRINCIPALTYPE_USER
User principal type. |
static String |
STATUS_CURRENT
The principal is current (active in the system). |
static String |
STATUS_OBSOLETE
The principal is obsolete (deleted from the system). |
Method Summary | |
---|---|
String |
getCanonicalName()
Retrieves the canonical name of this principal. |
String |
getCommonName()
Retrieves the common (display) name of this principal. |
String |
getDomainCommonName()
Retrieves the common (display) name of the domain associated with this principal. |
String |
getDomainName()
Retrieves the canonical name of the domain associated with this principal. |
String |
getEmail()
Retrieves the primary email identifier associated with this principal. |
String |
getOid()
Retrieves the principal identifier. |
String |
getOrg()
Retrieves the organization to which the principal belongs. |
String |
getPrincipalType()
Retrieves the principal type. |
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(String canonicalName)
Sets the principal's canonical name. |
void |
setCommonName(String commonName)
Sets the principal's common name. |
void |
setDomainName(String domainName)
Sets the principal's domain name. |
void |
setEmail(String email)
Sets the principal's email identifier. |
void |
setOid(String oid)
Sets the principal's identifier. |
void |
setOrg(String org)
Sets the principal's organization. |
void |
setPrincipalType(String principalType)
Sets the principal's type. |
void |
setStatus(String status)
Sets the principal's status. |
Field Detail |
---|
static final String STATUS_CURRENT
static final String STATUS_OBSOLETE
static final String PRINCIPALTYPE_GROUP
static final String PRINCIPALTYPE_SERVICE
static final String PRINCIPALTYPE_SPECIAL
PrincipalReference.PRINCIPALTYPE_SYSTEM
or PrincipalReference.PRINCIPALTYPE_SERVICE
instead.
static final String PRINCIPALTYPE_SYSTEM
static final String PRINCIPALTYPE_USER
Method Detail |
---|
String getCanonicalName()
{getCanonicalName(), getDomainName()}
uniquely identifies the principal.
Foe example, uid=doe,ou=People,o=adobe.com
.
String getCommonName()
John Doe
.
String getDomainName()
adobe.com
.
String getDomainCommonName()
Adobe Systems
.
String getOid()
String getPrincipalType()
String getStatus()
String getEmail()
doe@adobe.com
.
String getOrg()
Adobe
.
int getVisibility()
void setCommonName(String commonName)
commonName
- The principal's common name.void setStatus(String status)
status
- The principal's status.void setDomainName(String domainName)
domainName
- The principal's domain name.void setCanonicalName(String canonicalName)
canonicalName
- The principal's canonical name.void setOid(String oid)
oid
- The principal's identifier.void setPrincipalType(String principalType)
principalType
- The principal's type.void setEmail(String email)
email
- The principal's email identifier.void setOrg(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 |