public class LdapI extends AbstractAmdServant implements _ILdapOperations
ILdap
Constructor and Description |
---|
LdapI(ome.api.ILdap service,
BlitzExecutor be) |
Modifier and Type | Method and Description |
---|---|
void |
createUser_async(AMD_ILdap_createUser __cb,
java.lang.String username,
Ice.Current __current)
Creates an
Experimenter entry in the
OMERO DB based on the supplied LDAP username. |
void |
discover_async(AMD_ILdap_discover __cb,
Ice.Current __current)
Discovers and lists
Experimenter s who
are present in the remote LDAP server and in the local DB
but have the ldap property set to
false . |
void |
discoverGroups_async(AMD_ILdap_discoverGroups __cb,
Ice.Current __current)
Discovers and lists
ExperimenterGroup s
which are present in the remote LDAP server and in the local
DB but have the ldap property set to
false . |
void |
findDN_async(AMD_ILdap_findDN __cb,
java.lang.String username,
Ice.Current __current)
Searches unique Distinguished Name - string in LDAP for
Common Name equals username.
|
void |
findExperimenter_async(AMD_ILdap_findExperimenter __cb,
java.lang.String username,
Ice.Current __current)
Searches Experimenter by unique Distinguished Name -
string in LDAP for Common Name equals username.
|
void |
findGroup_async(AMD_ILdap_findGroup __cb,
java.lang.String groupname,
Ice.Current __current)
Looks up a specific
ExperimenterGroup
in LDAP using the provided group name. |
void |
findGroupDN_async(AMD_ILdap_findGroupDN __cb,
java.lang.String groupname,
Ice.Current __current)
Looks up the DN for a group.
|
void |
getSetting_async(AMD_ILdap_getSetting __cb,
Ice.Current __current)
Gets config value from properties.
|
void |
searchAll_async(AMD_ILdap_searchAll __cb,
Ice.Current __current)
Searches all
Experimenter list on LDAP
for attribute objectClass = person. |
void |
searchByAttribute_async(AMD_ILdap_searchByAttribute __cb,
java.lang.String dn,
java.lang.String attribute,
java.lang.String value,
Ice.Current __current)
Searches all
Experimenter in LDAP for
specified attribute. |
void |
searchByAttributes_async(AMD_ILdap_searchByAttributes __cb,
java.lang.String dn,
java.util.List<java.lang.String> attributes,
java.util.List<java.lang.String> values,
Ice.Current __current)
Searches all
Experimenter in LDAP for
specified attributes. |
void |
searchByDN_async(AMD_ILdap_searchByDN __cb,
java.lang.String userdn,
Ice.Current __current)
Searches one
Experimenter in LDAP for
specified Distinguished Name. |
void |
searchDnInGroups_async(AMD_ILdap_searchDnInGroups __cb,
java.lang.String attribute,
java.lang.String value,
Ice.Current __current)
Searches Distinguished Name in groups.
|
void |
setDN_async(AMD_ILdap_setDN __cb,
RLong experimenterID,
java.lang.String dn,
Ice.Current __current) |
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
public LdapI(ome.api.ILdap service, BlitzExecutor be)
public void searchAll_async(AMD_ILdap_searchAll __cb, Ice.Current __current) throws ServerError
_ILdapOperations
Experimenter
list on LDAP
for attribute objectClass = person.searchAll_async
in interface _ILdapOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void searchDnInGroups_async(AMD_ILdap_searchDnInGroups __cb, java.lang.String attribute, java.lang.String value, Ice.Current __current) throws ServerError
_ILdapOperations
searchDnInGroups_async
in interface _ILdapOperations
__cb
- The callback object for the operation.attribute
- Name of member attribute. Never null or empty.__current
- The Current object for the invocation.ServerError
public void searchByAttribute_async(AMD_ILdap_searchByAttribute __cb, java.lang.String dn, java.lang.String attribute, java.lang.String value, Ice.Current __current) throws ServerError
_ILdapOperations
Experimenter
in LDAP for
specified attribute.searchByAttribute_async
in interface _ILdapOperations
__cb
- The callback object for the operation.dn
- Distinguished Name base for search. Never
null.attribute
- Name of attribute. Never null or empty.__current
- The Current object for the invocation.ServerError
public void searchByAttributes_async(AMD_ILdap_searchByAttributes __cb, java.lang.String dn, java.util.List<java.lang.String> attributes, java.util.List<java.lang.String> values, Ice.Current __current) throws ServerError
_ILdapOperations
Experimenter
in LDAP for
specified attributes. Attributes should be specified in
StringSet and their values should be set in equivalent
StringSet.searchByAttributes_async
in interface _ILdapOperations
__cb
- The callback object for the operation.dn
- Distinguished Name base for search. Never
null.attributes
- Name of attribute. Never null or empty.__current
- The Current object for the invocation.ServerError
public void searchByDN_async(AMD_ILdap_searchByDN __cb, java.lang.String userdn, Ice.Current __current) throws ServerError
_ILdapOperations
Experimenter
in LDAP for
specified Distinguished Name.searchByDN_async
in interface _ILdapOperations
__cb
- The callback object for the operation.userdn
- unique Distinguished Name - string of user,
Never null or empty.__current
- The Current object for the invocation.ServerError
public void findDN_async(AMD_ILdap_findDN __cb, java.lang.String username, Ice.Current __current) throws ServerError
_ILdapOperations
findDN_async
in interface _ILdapOperations
__cb
- The callback object for the operation.username
- Name of the Experimenter equals CommonName.__current
- The Current object for the invocation.ServerError
public void findGroupDN_async(AMD_ILdap_findGroupDN __cb, java.lang.String groupname, Ice.Current __current) throws ServerError
_ILdapOperations
findGroupDN_async
in interface _ILdapOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void findExperimenter_async(AMD_ILdap_findExperimenter __cb, java.lang.String username, Ice.Current __current) throws ServerError
_ILdapOperations
findExperimenter_async
in interface _ILdapOperations
__cb
- The callback object for the operation.username
- Name of the Experimenter equals CommonName.__current
- The Current object for the invocation.ServerError
public void findGroup_async(AMD_ILdap_findGroup __cb, java.lang.String groupname, Ice.Current __current) throws ServerError
_ILdapOperations
ExperimenterGroup
in LDAP using the provided group name. It is expected that
the group name will be unique in the searched LDAP base
tree. If more than one group with the specified name has
been found, an exception will be thrown.findGroup_async
in interface _ILdapOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void setDN_async(AMD_ILdap_setDN __cb, RLong experimenterID, java.lang.String dn, Ice.Current __current) throws ServerError
setDN_async
in interface _ILdapOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getSetting_async(AMD_ILdap_getSetting __cb, Ice.Current __current) throws ServerError
_ILdapOperations
getSetting_async
in interface _ILdapOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void createUser_async(AMD_ILdap_createUser __cb, java.lang.String username, Ice.Current __current) throws ServerError
_ILdapOperations
Experimenter
entry in the
OMERO DB based on the supplied LDAP username.createUser_async
in interface _ILdapOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void discover_async(AMD_ILdap_discover __cb, Ice.Current __current) throws ServerError
_ILdapOperations
Experimenter
s who
are present in the remote LDAP server and in the local DB
but have the ldap
property set to
false
.discover_async
in interface _ILdapOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void discoverGroups_async(AMD_ILdap_discoverGroups __cb, Ice.Current __current) throws ServerError
_ILdapOperations
ExperimenterGroup
s
which are present in the remote LDAP server and in the local
DB but have the ldap
property set to
false
.discoverGroups_async
in interface _ILdapOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError