|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8.2) E10465-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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/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 current ACL or security attribute data into a String. |
Field Detail |
public static final int UNKNOWN
USER
or GROUP
public static final int USER
public static final int GROUP
public static final int OWNER
public static final int SIMPLE
public static final int DN
public static final int GUID
Method Detail |
public void addPrincipal(String id, String format, int idType) throws ProcessingException
id
- the id of the principalformat
- the format of the principal entry; 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
public void addDenyPrincipal(String id, String format, int idType) throws ProcessingException
id
- the id of the principalformat
- the format of the principal entry; 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
public void addPrincipal(String id, int format, int idType)
id
- the id of the principalformat
- the format of the principal entry; can be DN
, GUID
, or SIMPLE
.idType
- id type: USER
, GROUP
, OWNER
, or UNKNOWN
.public String addPrincipal(String id, int idType, int format, int targetFormat)
id
- the id of the principalidType
- id type: USER
, GROUP
, OWNER
, or UNKNOWN
.format
- the format of the principal entry: DN
or GUID
.targetFormat
- the target format of the principal entry: DN
or GUID
.null
is returned and principal is not inserted into the ACL.public void addDenyPrincipal(String id, int format, int idType)
id
- the id of the principalformat
- the format of the principal entry; can be DN
, GUID
, or SIMPLE
.idType
- id type: USER
, GROUP
, OWNER
, or UNKNOWN
.public String addDenyPrincipal(String id, int idType, int format, int targetFormat)
id
- the id of the principalidType
- id type: USER
, GROUP
, OWNER
, or UNKNOWN
.format
- the format of the principal entry; can be DN
or GUID
targetFormat
- the target format of the principal entry: DN
or GUID
.null
is returned and principal is not inserted into the ACL.public void clearPrincipalList()
public void addSecurityAttribute(String name, String value) throws ProcessingException
name
- the 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.public void clearSecurityAttributes()
public String toString()
|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8.2) E10465-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |