|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.util.LdapReplicaAccessUtil
public class LdapReplicaAccessUtil
This class has methods to access and query the Globus replica catalog using LDAP
| Field Summary | |
|---|---|
protected javax.naming.directory.InitialDirContext |
ctx
|
protected java.util.Hashtable |
env
|
static java.lang.String |
initial_context_factory
|
protected java.lang.String |
LDAPtop
|
protected java.lang.String |
LDAPUrl
|
static int |
NO_COUNT_LIMIT
|
protected int |
results
|
static int |
scope
|
static int |
timeout
|
| Constructor Summary | |
|---|---|
LdapReplicaAccessUtil()
Constructor for LdapReplicaAccessUtil. |
|
LdapReplicaAccessUtil(java.lang.String URL,
java.lang.String LDAPtop)
Constructor for LdapReplicaAccessUtil. |
|
| Method Summary | |
|---|---|
void |
connect()
Connect to the LDAP server |
void |
disconnect()
Disconnect from LDAP server |
void |
getAttributeValues(javax.naming.NamingEnumeration answer,
java.lang.String[] attr_req,
java.util.Vector result)
Gets the attributes specified in the String[] param |
java.util.Hashtable |
getEnv()
Returns the env. |
java.lang.String |
getLDAPtop()
Returns the lDAPtop. |
java.lang.String |
getLDAPUrl()
Returns the lDAPUrl. |
void |
getValue(javax.naming.directory.Attributes attribs,
java.lang.String[] attr_req,
java.util.Vector result)
Gets the attribute value specified in the String[] param |
void |
printAttrs(javax.naming.directory.Attribute attrib)
Prints the attribute lists passed in |
void |
printSearchEnumeration(javax.naming.NamingEnumeration result)
Prints the result list passed in |
void |
searchAndRetrieve(java.lang.String filter,
java.lang.String[] ret_attrs,
java.util.Vector result)
Searches for the specified attributes for the objects satisfying the filter in the catalog |
void |
searchByFilename(java.lang.String filename,
java.lang.Object result)
Searches the Replica Service based on a filename. |
void |
searchByFilter(java.lang.String filter,
java.lang.Object result)
Not implemented for LDAP replica access. |
void |
setEnv()
Sets the env. |
void |
setLDAPtop(java.lang.String ldaptop)
Sets the lDAPtop. |
void |
setLDAPUrl(java.lang.String ldapUrl)
Sets the lDAPUrl. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_COUNT_LIMIT
public static final java.lang.String initial_context_factory
public static final int scope
public static final int timeout
protected javax.naming.directory.InitialDirContext ctx
protected java.util.Hashtable env
protected java.lang.String LDAPtop
protected java.lang.String LDAPUrl
protected int results
| Constructor Detail |
|---|
public LdapReplicaAccessUtil()
public LdapReplicaAccessUtil(java.lang.String URL,
java.lang.String LDAPtop)
URL - LDAPtop - | Method Detail |
|---|
public void connect()
public void disconnect()
public void getAttributeValues(javax.naming.NamingEnumeration answer,
java.lang.String[] attr_req,
java.util.Vector result)
answer - : the enu to be filled in by the queryattr_req - result - public java.util.Hashtable getEnv()
public java.lang.String getLDAPtop()
public java.lang.String getLDAPUrl()
public void getValue(javax.naming.directory.Attributes attribs,
java.lang.String[] attr_req,
java.util.Vector result)
attribs - attr_req - : attribute to getresult - public void printAttrs(javax.naming.directory.Attribute attrib)
attrib - public void printSearchEnumeration(javax.naming.NamingEnumeration result)
result -
public void searchAndRetrieve(java.lang.String filter,
java.lang.String[] ret_attrs,
java.util.Vector result)
filter - : condition to search for objectsret_attrs - : attributes to returnresult - public void setEnv()
public void setLDAPtop(java.lang.String ldaptop)
ldaptop - public void setLDAPUrl(java.lang.String ldapUrl)
ldapUrl -
public void searchByFilename(java.lang.String filename,
java.lang.Object result)
ReplicaAccess
searchByFilename in interface ReplicaAccessReplicaAccess.searchByFilename(java.lang.String, java.lang.Object)
public void searchByFilter(java.lang.String filter,
java.lang.Object result)
searchByFilter in interface ReplicaAccessReplicaAccess.searchByFilter(java.lang.String, java.lang.Object)
|
Copyright © The University of Melbourne. 2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||