Class LdapI

    • Constructor Detail

      • LdapI

        public LdapI​(ome.api.ILdap service,
                     BlitzExecutor be)
    • Method Detail

      • searchDnInGroups_async

        public void searchDnInGroups_async​(AMD_ILdap_searchDnInGroups __cb,
                                           java.lang.String attribute,
                                           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.
        attribute - Name of member attribute. Never null or empty.
        __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 all Experimenter 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 all Experimenter 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 one Experimenter 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
      • 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 specific 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.
        Specified by:
        findGroup_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 lists Experimenters who are present in the remote LDAP server and in the local DB but have the ldap property set to false.
        Specified by:
        discover_async in interface _ILdapOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError