Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getUserName (0.26 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

            }
            paramMap.put(Param.Client.FTP_AUTHENTICATIONS, ftpAuthList.toArray(new FtpAuthentication[ftpAuthList.size()]));
            if (logger.isDebugEnabled()) {
                ftpAuthList.forEach(ftpAuth -> logger
                        .debug("FtpAuthentication: " + ftpAuth.getServer() + ":" + ftpAuth.getPort() + " " + ftpAuth.getUsername()));
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

                final String domain = parameterMap.get("domain");
                return new NTCredentials(getUsername(), getPassword(), workstation == null ? StringUtil.EMPTY : workstation,
                        domain == null ? StringUtil.EMPTY : domain);
            }
    
            return new UsernamePasswordCredentials(getUsername(), getPassword() == null ? StringUtil.EMPTY : getPassword());
        }
    
        public WebConfig getWebConfig() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FileAuthenticationDbm.java

                    (et, vl) -> ((FileAuthentication) et).setUpdatedTime(DfTypeUtil.toLong(vl)), "updatedTime");
            setupEpg(_epgMap, et -> ((FileAuthentication) et).getUsername(),
                    (et, vl) -> ((FileAuthentication) et).setUsername(DfTypeUtil.toString(vl)), "username");
        }
    
        @Override
        public PropertyGateway findPropertyGateway(final String prop) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    }
                }
            }
            configPath = convertCrawlingPath(buf.toString());
    
            final String username = systemHelper.getUsername();
            final long now = systemHelper.getCurrentTimeAsLong();
    
            try {
                if (isWebCrawlingPath(configPath)) {
                    // web
                    final WebConfig wConfig = new WebConfig();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

         */
        public static OptionalEntity<AccessToken> getAccessToken(final CreateForm form) {
            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);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            return new NtlmPasswordAuthenticator(smbAuthentication.getDomain() == null ? "" : smbAuthentication.getDomain(),
                    smbAuthentication.getUsername(), smbAuthentication.getPassword());
        }
    
        /**
         * Retrieves response data for the given URI.
         *
         * @param uri the URI to retrieve data from
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                final FtpAuthentication auth = ftpAuthenticationHolder.get(info.toUrl());
                if (auth != null && !ftpClient.login(auth.getUsername(), auth.getPassword())) {
                    throw new CrawlerLoginFailureException("Login Failure: " + auth.getUsername() + " for " + info.toUrl());
                }
    
                if (enterLocalPassiveMode) {
                    ftpClient.enterLocalPassiveMode();
                }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

         */
        public static OptionalEntity<LabelType> getLabelType(final CreateForm form) {
            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);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                }
            });
        }
    
        /**
         * Gets the username of the current user.
         *
         * @return The username, or "guest" if not logged in.
         */
        public String getUsername() {
            return getRequestManager().findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        /**
         * Gets the request manager.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top