Package omero.api
Class _ILdapTie
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.api._ILdapDisp
-
- omero.api._ILdapTie
-
- All Implemented Interfaces:
Ice.Object
,Ice.TieBase
,java.io.Serializable
,java.lang.Cloneable
,_ILdapOperations
,_ILdapOperationsNC
,_ServiceInterfaceOperations
,_ServiceInterfaceOperationsNC
,ILdap
,ServiceInterface
public class _ILdapTie extends _ILdapDisp implements Ice.TieBase
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Fields inherited from class omero.api._ILdapDisp
__ids
-
Fields inherited from interface omero.api.ILdap
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _ILdapTie()
_ILdapTie(_ILdapOperations delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
createUser_async(AMD_ILdap_createUser __cb, java.lang.String username, Ice.Current __current)
Creates anExperimenter
entry in the OMERO DB based on the supplied LDAP username.void
discover_async(AMD_ILdap_discover __cb, Ice.Current __current)
Discovers and listsExperimenter
s who are present in the remote LDAP server and in the local DB but have theldap
property set tofalse
.void
discoverGroups_async(AMD_ILdap_discoverGroups __cb, Ice.Current __current)
Discovers and listsExperimenterGroup
s which are present in the remote LDAP server and in the local DB but have theldap
property set tofalse
.boolean
equals(java.lang.Object rhs)
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 specificExperimenterGroup
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.int
hashCode()
java.lang.Object
ice_delegate()
void
ice_delegate(java.lang.Object delegate)
void
searchAll_async(AMD_ILdap_searchAll __cb, Ice.Current __current)
Searches allExperimenter
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 allExperimenter
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 allExperimenter
in LDAP for specified attributes.void
searchByDN_async(AMD_ILdap_searchByDN __cb, java.lang.String userdn, Ice.Current __current)
Searches oneExperimenter
in LDAP for specified Distinguished Name.void
searchDnInGroups_async(AMD_ILdap_searchDnInGroups __cb, java.lang.String attr, 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)
Deprecated.-
Methods inherited from class omero.api._ILdapDisp
___createUser, ___discover, ___discoverGroups, ___findDN, ___findExperimenter, ___findGroup, ___findGroupDN, ___getSetting, ___searchAll, ___searchByAttribute, ___searchByAttributes, ___searchByDN, ___searchDnInGroups, ___setDN, __dispatch, __readImpl, __writeImpl, createUser_async, discover_async, discoverGroups_async, findDN_async, findExperimenter_async, findGroup_async, findGroupDN_async, getSetting_async, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, searchAll_async, searchByAttribute_async, searchByAttributes_async, searchByDN_async, searchDnInGroups_async, setDN_async
-
Methods inherited from class Ice.ObjectImpl
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
_ILdapTie
public _ILdapTie()
-
_ILdapTie
public _ILdapTie(_ILdapOperations delegate)
-
-
Method Detail
-
ice_delegate
public java.lang.Object ice_delegate()
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
createUser_async
public void createUser_async(AMD_ILdap_createUser __cb, java.lang.String username, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Creates anExperimenter
entry in the OMERO DB based on the supplied LDAP username.- Specified by:
createUser_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
discover_async
public void discover_async(AMD_ILdap_discover __cb, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Discovers and listsExperimenter
s who are present in the remote LDAP server and in the local DB but have theldap
property set tofalse
.- Specified by:
discover_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
discoverGroups_async
public void discoverGroups_async(AMD_ILdap_discoverGroups __cb, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Discovers and listsExperimenterGroup
s which are present in the remote LDAP server and in the local DB but have theldap
property set tofalse
.- Specified by:
discoverGroups_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
findDN_async
public void findDN_async(AMD_ILdap_findDN __cb, java.lang.String username, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Searches unique Distinguished Name - string in LDAP for Common Name equals username. Common Name should be unique under the specified base. If list of cn's contains more then one DN will return exception.- Specified by:
findDN_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.username
- Name of the Experimenter equals CommonName.__current
- The Current object for the invocation.- Throws:
ServerError
-
findExperimenter_async
public void findExperimenter_async(AMD_ILdap_findExperimenter __cb, java.lang.String username, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Searches Experimenter by unique Distinguished Name - string in LDAP for Common Name equals username. Common Name should be unique under the specified base. If list of cn's contains more then one DN will return exception.- Specified by:
findExperimenter_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.username
- Name of the Experimenter equals CommonName.__current
- The Current object for the invocation.- Throws:
ServerError
-
findGroup_async
public void findGroup_async(AMD_ILdap_findGroup __cb, java.lang.String groupname, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Looks up a specificExperimenterGroup
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.- Specified by:
findGroup_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
findGroupDN_async
public void findGroupDN_async(AMD_ILdap_findGroupDN __cb, java.lang.String groupname, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Looks up the DN for a group.- Specified by:
findGroupDN_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getSetting_async
public void getSetting_async(AMD_ILdap_getSetting __cb, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Gets config value from properties.- Specified by:
getSetting_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
searchAll_async
public void searchAll_async(AMD_ILdap_searchAll __cb, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Searches allExperimenter
list on LDAP for attribute objectClass = person.- Specified by:
searchAll_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
searchByAttribute_async
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
Description copied from interface:_ILdapOperations
Searches allExperimenter
in LDAP for specified attribute.- Specified by:
searchByAttribute_async
in interface_ILdapOperations
- Parameters:
__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.- Throws:
ServerError
-
searchByAttributes_async
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
Description copied from interface:_ILdapOperations
Searches allExperimenter
in LDAP for specified attributes. Attributes should be specified in StringSet and their values should be set in equivalent StringSet.- Specified by:
searchByAttributes_async
in interface_ILdapOperations
- Parameters:
__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.- Throws:
ServerError
-
searchByDN_async
public void searchByDN_async(AMD_ILdap_searchByDN __cb, java.lang.String userdn, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Searches oneExperimenter
in LDAP for specified Distinguished Name.- Specified by:
searchByDN_async
in interface_ILdapOperations
- Parameters:
__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.- Throws:
ServerError
-
searchDnInGroups_async
public void searchDnInGroups_async(AMD_ILdap_searchDnInGroups __cb, java.lang.String attr, java.lang.String value, Ice.Current __current) throws ServerError
Description copied from interface:_ILdapOperations
Searches Distinguished Name in groups.- Specified by:
searchDnInGroups_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.attr
- Name of member attribute. Never null or empty.__current
- The Current object for the invocation.- Throws:
ServerError
-
setDN_async
@Deprecated public void setDN_async(AMD_ILdap_setDN __cb, RLong experimenterID, java.lang.String dn, Ice.Current __current) throws ServerError
Deprecated.- Specified by:
setDN_async
in interface_ILdapOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
-