|
Oracle Ultra Search Java API Reference 10g (9.0.4) B10492-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ultrasearch.crawler.AclHelper
AclHelper is to be used by a crawler agent to generate Access Control List from a list of LDAP distinguished names
Field Summary | |
static int |
DN |
static int |
GROUP |
static int |
GUID |
static int |
OWNER |
static java.lang.String |
OWNER_PRINCIPAL Principal types |
static int |
UNKNOWN |
static int |
USER |
Constructor Summary | |
AclHelper() AclHelper constructor | |
AclHelper(java.io.PrintWriter log) |
Method Summary | |
void |
addDenyPrincipal(java.lang.String name, int format, int principalType) Add a LDAP user/group as an ACL principal that have no read privilege |
void |
addPrincipal(java.lang.String name, int format, int principalType) Add a LDAP user/group as an ACL principal that have read privilege |
void |
clearPrincipalList() Clear all URL data |
java.lang.String |
getAclString() Return the ACL string consisting of the current added principals |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DN
public static final int GROUP
public static final int GUID
public static final int OWNER
public static final java.lang.String OWNER_PRINCIPAL
public static final int UNKNOWN
public static final int USER
Constructor Detail |
public AclHelper()
public AclHelper(java.io.PrintWriter log)
Method Detail |
public void addDenyPrincipal(java.lang.String name, int format, int principalType)
name
- the name of the principalformat
- the format of the principal entry; can be AclHelper.DN or AclHelper.GUIDpublic void addPrincipal(java.lang.String name, int format, int principalType)
name
- the name of the principalformat
- the format of the principal entry; can be AclHelper.DN or AclHelper.GUIDpublic void clearPrincipalList()
public java.lang.String getAclString()
|
Oracle Ultra Search Java API Reference 10g (9.0.4) B10492-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |