Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 681 for username (0.06 sec)

  1. src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java

                    .put("http.heartbeat_interval", fessConfig.getFesenHeartbeatInterval());
            final String username = fessConfig.getFesenUsername();
            final String password = fessConfig.getFesenPassword();
            if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) {
                builder.put(Constants.FESEN_USERNAME, username);
                builder.put(Constants.FESEN_PASSWORD, password);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. fastapi/security/http.py

            except (ValueError, UnicodeDecodeError, binascii.Error):
                raise invalid_user_credentials_exc  # noqa: B904
            username, separator, password = data.partition(":")
            if not separator:
                raise invalid_user_credentials_exc
            return HTTPBasicCredentials(username=username, password=password)
    
    
    class HTTPBearer(HTTPBase):
        """
        HTTP Bearer token authentication.
    
        ## Usage
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                }
                int domainLength = (domain != null) ? domain.length : 0;
                String userName = getUser();
                byte[] user = null;
                if (userName != null && userName.length() != 0) {
                    user = unicode ? userName.getBytes(UNI_ENCODING) :
                            userName.toUpperCase().getBytes(oem);
                }
                int userLength = (user != null) ? user.length : 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
                BeanUtil.copyBeanToBean(form, entity, op -> op.exclude(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    }
                    wConfig.setName(configName);
                    wConfig.setNumOfThread(getDefaultInteger("default.config.web.numOfThread", Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB));
                    wConfig.setSortOrder(getDefaultInteger("default.config.web.sortOrder", 1));
                    wConfig.setUpdatedBy(username);
                    wConfig.setUpdatedTime(now);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            });
        }
    
        public boolean changePassword(final String username, final String password) {
            if (!fessConfig.isLdapAdminEnabled(username)) {
                return false;
            }
    
            final Supplier<Hashtable<String, String>> adminEnv = this::createAdminEnv;
            final String userDN = fessConfig.getLdapAdminUserSecurityPrincipal(username);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CurlHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String username = fessConfig.getFesenUsername();
            final String password = fessConfig.getFesenPassword();
            if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) {
                final String value = username + ":" + password;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. tests/test_security_http_basic_optional.py

            return {"msg": "Create an account first"}
        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top