|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentAcl
DocumentAcl is used by a crawler plug-in to generate an Access Control List from a list of access control entries or to store security attribute value data.
Field Summary | |
---|---|
static int |
DN Deprecated. |
static int |
GROUP Group principal type |
static int |
GUID Deprecated. |
static int |
OWNER Owner principal type |
static int |
SIMPLE Deprecated. |
static int |
UNKNOWN Unknown principal type, indicating either USER or GROUP |
static int |
USER User principal type |
Method Summary | |
---|---|
void |
addDenyPrincipal(String id, int format, int idType) Deprecated. |
String |
addDenyPrincipal(String id, int idType, int format, int targetFormat) Deprecated. |
void |
addDenyPrincipal(String id, String format, int idType) Adds an LDAP user/group as an ACL principal that has no read privileges. |
void |
addPrincipal(String id, int format, int idType) Deprecated. |
String |
addPrincipal(String id, int idType, int format, int targetFormat) Deprecated. |
void |
addPrincipal(String id, String format, int idType) Adds an LDAP user or group as an ACL principal that has read privileges. |
void |
addSecurityAttribute(String name, String value) Adds a security attribute value. |
void |
clearPrincipalList() Clears all principal data. |
void |
clearSecurityAttributes() Clears all security attribute value data. |
String |
toString() Converts the current ACL or security attribute data into a String. |
Field Detail |
---|
static final int UNKNOWN
USER
or GROUP
static final int USER
static final int GROUP
static final int OWNER
static final int SIMPLE
static final int DN
static final int GUID
Method Detail |
---|
void addPrincipal(String id, String format, int idType) throws ProcessingException
id
- ID of the principalformat
- Format of the principal entry, which should be recognizable by the corresponding identity plug-inidType
- ID type: USER
, GROUP
, or UNKNOWN
(USER
or GROUP
); any other value is treated as UNKNOWN
ProcessingException
void addDenyPrincipal(String id, String format, int idType) throws ProcessingException
id
- ID of the principalformat
- Format of the principal entry, which should be recognizable by the corresponding identity plug-inidType
- ID type: USER
, GROUP
, or UNKNOWN
(USER
or GROUP
); any other value is treated as UNKNOWN
ProcessingException
void addPrincipal(String id, int format, int idType)
id
- ID of the principalformat
- Format of the principal entry. DN
, GUID
, or SIMPLE
idType
- id type: USER
, GROUP
, OWNER
, or UNKNOWN
String addPrincipal(String id, int idType, int format, int targetFormat)
id
- ID of the principalidType
- ID type: USER
, GROUP
, OWNER
, or UNKNOWN
format
- Format of the principal entry: DN
or GUID
targetFormat
- Target format of the principal entry: DN
or GUID
null
and does not insert the principal into the ACL.void addDenyPrincipal(String id, int format, int idType)
id
- ID of the principalformat
- Format of the principal entry; can be DN
, GUID
, or SIMPLE
idType
- ID type: USER
, GROUP
, OWNER
, or UNKNOWN
String addDenyPrincipal(String id, int idType, int format, int targetFormat)
id
- ID of the principalidType
- ID type: USER
, GROUP
, OWNER
, or UNKNOWN
.format
- Format of the principal entry; can be DN
or GUID
targetFormat
- the target format of the principal entry: DN
or GUID
null
and does not insert the principal into the ACL.void clearPrincipalList()
void addSecurityAttribute(String name, String value) throws ProcessingException
name
- Name of the security attributevalue
- Security attribute valueProcessingException
- If the source is using identity-based security, if the name is null
or not in the list of security attributes defined by the crawler plug-in, or if the value is null
, zero-length, or longer than 200 characters.void clearSecurityAttributes()
String toString()
toString
in class Object
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |