public class SpecialPrincipal
extends java.lang.Object
implements java.io.Serializable
#AUTHENTICATED-USERS
and
#CREATOR-OWNER
. These principal types are not real directory service entities;
they represent special pseudo-accounts.
The #AUTHENTICATED-USERS
pseudo-account is a logical group, all
of whose members are authenticated users.
The #CREATOR-OWNER
principal is the pseudo-account granted to the user who creates an object.
It is a placeholder for the future owner of an object. A specific set of permissions (ACL) is defined
for this account. These permissions provide full control over the created object. When the ACL is
actually used, the real identity of the user accessing the object is substituted and
becomes the actual owner ID. This occurs in the following instances:
DefaultInstanceOwner
property is set to null
,
in which case permissions from the default instance security that specify #CREATOR-OWNER
as the grantee are ignored and not copied to the Permissions
collection of the created object.Modifier and Type | Field and Description |
---|---|
static SpecialPrincipal |
AUTHENTICATED_USERS
Specifies a
SpecialPrincipal that is a
group of authenticated users. |
static SpecialPrincipal |
CREATOR_OWNER
Specifies a
SpecialPrincipal that is the
#CREATOR-OWNER account. |
Modifier and Type | Method and Description |
---|---|
static SpecialPrincipal |
getInstanceFromString(java.lang.String value)
Returns an instance of this class based on the specified value.
|
java.lang.String |
getValue()
Returns a
String associated with a specific instance of this class. |
java.lang.String |
toString()
Returns a
String representation of this SpecialPrincipal instance. |
public static final SpecialPrincipal AUTHENTICATED_USERS
SpecialPrincipal
that is a
group of authenticated users.
Note: Specifying that #AUTHENTICATED-USERS
be the default
user/group of an object store would permit all users who successfully logon to the
FileNet P8 domain to access that object store.
public static final SpecialPrincipal CREATOR_OWNER
SpecialPrincipal
that is the
#CREATOR-OWNER
account.public java.lang.String getValue()
String
associated with a specific instance of this class.
The value will be either AUTHENTICATED_USERS
or CREATOR_OWNER
.String
representing a specific instance of this class.public static SpecialPrincipal getInstanceFromString(java.lang.String value)
value
- A String
representing the SpecialPrincipal
to retrieve.
Valid values are AUTHENTICATED_USERS
and CREATOR_OWNER
; cannot be null
.SpecialPrincipal
object of the type requested.EngineRuntimeException
- if the input parameter is invalid or null
.public java.lang.String toString()
String
representation of this SpecialPrincipal
instance.toString
in class java.lang.Object
String
representing this SpecialPrincipal
.© Copyright IBM Corporation 2006, 2015. All rights reserved.