|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DocumentAcl is to be used by a crawler plugin to generate Access Control List from a list of access control entities
Field Summary | |
static int |
DN |
static int |
GROUP |
static int |
GUID |
static int |
OWNER |
static int |
SIMPLE id formats; note: must reference values in IdentityManager |
static int |
UNKNOWN |
static int |
USER Principal types; note: must reference values in IdentityManager |
Method Summary | |
void |
addDenyPrincipal(java.lang.String id, int format, int idType) Deprecated. |
java.lang.String |
addDenyPrincipal(java.lang.String id, int idType, int format, int targetFormat) Deprecated. |
void |
addDenyPrincipal(java.lang.String id, java.lang.String format, int idType) Add a LDAP user/group as an ACL principal that has no read privilege |
void |
addPrincipal(java.lang.String id, int format, int idType) Deprecated. |
java.lang.String |
addPrincipal(java.lang.String id, int idType, int format, int targetFormat) Deprecated. |
void |
addPrincipal(java.lang.String id, java.lang.String format, int idType) Add a LDAP user/group as an ACL principal that has read privilege |
void |
addSecurityAttribute(java.lang.String name, java.lang.String value) Add a security attribute value |
void |
clearPrincipalList() Clear all principal data |
void |
clearSecurityAttributes() Clear all security attribute data |
java.lang.String |
toString() covert current ACL or security attribute data into a string |
Field Detail |
public static final int UNKNOWN
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(java.lang.String id, java.lang.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, UNKNOWN(USER or GROUP). Any other value is treated as UNKNOWNProcessingException
public void addDenyPrincipal(java.lang.String id, java.lang.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, UNKNOWN(USER or GROUP). Any other value is treated as UNKNOWNProcessingException
public void addPrincipal(java.lang.String id, int format, int idType)
id
- the id of the principalformat
- the format of the principal entry; can be DocumentAcl.DN, DocumentAcl.GUID, or DocumentAcl.SIMPLEidType
- id type: USER, GROUP, OWNER, UNKNOWNpublic java.lang.String addPrincipal(java.lang.String id, int idType, int format, int targetFormat)
id
- the id of the principalidType
- id type: USER, GROUP, OWNER, UNKNOWNformat
- the format of the principal entry: DN, GUIDtargetFormat
- the target format of the principal entry: DN, GUIDpublic void addDenyPrincipal(java.lang.String id, int format, int idType)
id
- the id of the principalformat
- the format of the principal entry; can be DocumentAcl.DN or DocumentAcl.GUID, or DocumentAcl.SIMPLEidType
- USER, GROUP,OWNER, or UNKNOWNpublic java.lang.String addDenyPrincipal(java.lang.String id, int idType, int format, int targetFormat)
id
- the id of the principalidType
- id type: USER, GROUP, OWNER, UNKNOWNformat
- the format of the principal entry: DN, GUIDtargetFormat
- the target format of the principal entry: DN, GUIDpublic void clearPrincipalList()
public void addSecurityAttribute(java.lang.String name, java.lang.String value) throws ProcessingException
name
- the name of the security attributevalue
- attribute value; must be less than 51 bytes and character in A-Z, 0-9ProcessingException
public void clearSecurityAttributes()
public java.lang.String toString()
|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |