com.filenet.api.constants
Class SecurityProxyType
- java.lang.Object
-
- com.filenet.api.constants.SecurityProxyType
-
- All Implemented Interfaces:
- java.io.Serializable
public final class SecurityProxyType extends java.lang.Object implements java.io.Serializable
Specifies the type of security proxy behavior associated with a given object-valued property.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static SecurityProxyType
FULL
For internal use only.static int
FULL_AS_INT
Anint
value associated with the FULL instance of this class.static SecurityProxyType
INHERITANCE
Inherits security from a parent object.static int
INHERITANCE_AS_INT
Anint
value associated with the INHERITANCE instance of this class.static SecurityProxyType
NONE
No security proxy behavior is associated with the described property.static int
NONE_AS_INT
Anint
value associated with the NONE instance of this class.
-
Method Summary
Methods Modifier and Type Method and Description static SecurityProxyType
getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.int
getValue()
Returns the internal integer value associated with a specific instance of this class.java.lang.String
toString()
Returns aString
representation of this enumeration instance.
-
-
-
Field Detail
-
FULL_AS_INT
public static final int FULL_AS_INT
Anint
value associated with the FULL instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
FULL
public static final SecurityProxyType FULL
For internal use only. Delegates security to a proxy object. The effective permissions of the object will be that of the proxy object. The access control list for the current object will be ineffective and invisible. The permissions will be of source PROXY.
-
INHERITANCE_AS_INT
public static final int INHERITANCE_AS_INT
Anint
value associated with the INHERITANCE instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
INHERITANCE
public static final SecurityProxyType INHERITANCE
Inherits security from a parent object. The effective permissions of the object will be computed dynamically, based on a combination of the current object's access control entries and the inheritable access control entries of the parent object. The permissions will be of source PARENT.The following constraints apply:
- If an object (A1) having a property with a security proxy type of INHERITANCE references a security parent object (A2) that has a property with a security proxy type of FULL, then the (security) child object's access control entries are combined with the inheritable access control entries from the proxy object (A3) referenced by the security parent object (A2). The combined access control entries (of A1 and A3) are then used to compute the security descriptor for the child object (A1).
- If an object having a property with a security proxy type of INHERITANCE references a security parent object that also has a property with a security proxy type of INHERITANCE, then the (security) child object's access control entries are combined with the results of dynamically computing the inheritable access control entries for the security parent object. These combined access control entries are then used to compute the security descriptor for the child object.
- If an object has a property or properties having a security proxy type of INHERITANCE as well as a property having a security proxy type of FULL, then the FULL proxy type takes precedence. Only the FULL proxy type will be used.
-
NONE_AS_INT
public static final int NONE_AS_INT
Anint
value associated with the NONE instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
NONE
public static final SecurityProxyType NONE
No security proxy behavior is associated with the described property.
-
-
Method Detail
-
getValue
public int getValue()
Returns the internal integer value associated with a specific instance of this class.- Returns:
- The enumeration instance's ordinal value.
- See Also:
getInstanceFromInt(int)
-
toString
public java.lang.String toString()
Returns aString
representation of this enumeration instance.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The enumeration instance's description.
-
getInstanceFromInt
public static SecurityProxyType getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.- Parameters:
value
- The integer value. (See the *_AS_INT fields.)- Returns:
- The enumeration instance with the given ordinal value.
- Throws:
EngineRuntimeException
- If an enumeration instance with the given ordinal value does not exist.- See Also:
getValue()
-
-