Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for create (0.06 sec)

  1. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                final String region) {
            this.bucket = bucket;
    
            final AwsBasicCredentials credentials = AwsBasicCredentials.create(accessKey, secretKey);
            final S3ClientBuilder builder =
                    S3Client.builder().credentialsProvider(StaticCredentialsProvider.create(credentials)).region(Region.of(getRegion(region)));
    
            // For non-AWS endpoints (MinIO, etc.), set custom endpoint with path-style access
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_label_type = "{labels.label_type}";
    
        /** The key of the message: Create */
        public static final String LABELS_file_crawling_button_create = "{labels.file_crawling_button_create}";
    
        /** The key of the message: Create New Job */
        public static final String LABELS_file_crawling_button_create_job = "{labels.file_crawling_button_create_job}";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 156.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

        public void ensureBucketExists() {
            try {
                final Bucket existingBucket = storage.get(bucket);
                if (existingBucket == null) {
                    storage.create(BucketInfo.newBuilder(bucket).build());
                    logger.info("Created storage bucket: {}", bucket);
                }
            } catch (final Exception e) {
                logger.warn("Failed to ensure bucket exists: {}", bucket, e);
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            return StringUtil.isEmpty(path) ? StringUtil.EMPTY : path + "/";
        }
    
        /**
         * Combines path and name to create a full object name.
         *
         * @param path the directory path
         * @param name the file or directory name
         * @return the full object name
         */
        public static String getObjectName(final String path, final String name) {
            return getPathPrefix(path) + name;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    request.getSession().setAttribute(SAML_STATE, UuidUtil.create());
                    return new ActionResponseCredential(() -> HtmlResponse.fromRedirectPathAsIs(loginUrl));
                } catch (final Exception e) {
                    throw new SsoLoginException("Invalid SAML redirect URL.", e);
                }
    
            }).orElse(null);
        }
    
        /**
         * Creates a login credential.
         * @param request The HTTP request.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 20.2K bytes
    - Viewed (3)
  6. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

         *
         * @param request the HTTP servlet request
         * @return the authorization URL
         */
        protected String getAuthUrl(final HttpServletRequest request) {
            final String state = UuidUtil.create();
            request.getSession().setAttribute(OIC_STATE, state);
            return new AuthorizationCodeRequestUrl(getOicAuthServerUrl(), getOicClientId())//
                    .setScopes(Arrays.asList(getOicScope()))//
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Creates a temporary file.
         *
         * @param prefix The prefix for the file name.
         * @param suffix The suffix for the file name.
         * @return The created temporary file.
         * @throws IORuntimeException if the file cannot be created.
         */
        public File createTempFile(final String prefix, final String suffix) {
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

         * @return The authorization URL to redirect the user to.
         */
        protected String getAuthUrl(final HttpServletRequest request) {
            final String state = UuidUtil.create();
            final String nonce = UuidUtil.create();
            storeStateInSession(request.getSession(), state, nonce);
            final String authUrl;
    
            if (useV2Endpoint) {
                // v2.0 endpoint with MSAL4J (recommended)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

                return StorageType.S3;
            }
    
            // Default to S3-compatible (MinIO, etc.)
            return StorageType.S3_COMPAT;
        }
    
        /**
         * Creates a StorageClient based on FessConfig.
         *
         * @param fessConfig the Fess configuration
         * @return configured StorageClient
         */
        public static StorageClient createClient(final FessConfig fessConfig) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/storage/StorageItem.java

        private final String path;
        private final boolean directory;
        private final long size;
        private final ZonedDateTime lastModified;
        private final String encodedId;
    
        /**
         * Creates a new StorageItem instance.
         *
         * @param name the name of the item
         * @param path the path of the item
         * @param directory true if this item is a directory
         * @param size the size of the item in bytes
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top