Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for visiting (0.04 sec)

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Rate limiter for authentication attempts to prevent brute force attacks.
     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
     * - Automatic cleanup of old entries
     */
    public class AuthenticationRateLimiter implements AutoCloseable {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. docs/smb3-features/04-directory-leasing-design.md

        }
        
        // Check if we can use cached directory listing
        if (directoryLeaseManager != null && 
            directoryLeaseManager.canCacheDirectoryListing(getPath())) {
            
            List<SmbFile> cachedFiles = directoryLeaseManager.getCachedDirectoryListing(getPath());
            if (cachedFiles != null) {
                log.debug("Using cached directory listing for: {}", getPath());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

    import jcifs.internal.smb2.info.Smb2QueryDirectoryRequest;
    import jcifs.internal.smb2.info.Smb2QueryDirectoryResponse;
    
    /**
     * SMB2/SMB3 implementation of directory entry enumeration iterator.
     * Provides efficient directory listing capabilities for SMB2/SMB3 protocol versions.
     *
     * @author mbechler
     *
     */
    public class DirFileEntryEnumIterator2 extends DirFileEntryEnumIteratorBase {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                    directoryCache.remove(directoryPath);
                    return null;
                }
            }
    
            return entry;
        }
    
        /**
         * Check if directory listing can be cached
         *
         * @param directoryPath directory path
         * @return true if caching is allowed
         */
        public boolean canCacheDirectoryListing(String directoryPath) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertFalse(cacheEntry.isComplete());
    
            // Step 3: Verify can cache directory listing
            assertTrue(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
    
            // Step 4: Initially no cached listing
            assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
    
            // Step 5: Simulate directory enumeration and update cache
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

            // Check if we can use cached directory listing
            if (dirManager.canCacheDirectoryListing(directoryPath)) {
                List<SmbFile> cachedFiles = dirManager.getCachedDirectoryListing(directoryPath);
                if (cachedFiles != null) {
                    log.debug("Using cached directory listing for: {}", directoryPath);
                    return cachedFiles.toArray(new SmbFile[0]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

        }
    
        /**
         * Configure rate limiting
         *
         * @param windowMs time window in milliseconds
         * @param maxEvents maximum events per window
         */
        public void setRateLimit(long windowMs, int maxEvents) {
            this.rateLimitWindow = windowMs;
            this.maxEventsPerWindow = maxEvents;
            log.info("Rate limiting set to {} events per {} ms", maxEvents, windowMs);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

            relatedContentBhv.delete(relatedContent, op -> op.setRefreshPolicy(Constants.TRUE));
            ComponentUtil.getRelatedContentHelper().update();
        }
    
        /**
         * Sets up the search conditions for listing related content entities.
         * Configures wildcard searches for term and content fields, and sets up ordering.
         *
         * @param cb the condition bean for building the query
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ListBody.java

     */
    package org.codelibs.fess.app.web.api.admin.dict;
    
    import java.util.Date;
    
    import org.codelibs.fess.app.web.admin.dict.ListForm;
    
    /**
     * The request body for listing dictionaries.
     */
    public class ListBody extends ListForm {
        /**
         * Default constructor.
         */
        public ListBody() {
            super();
        }
    
        /** The ID of the dictionary. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/CrudMode.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web;
    
    /**
     * Constants for CRUD operation modes.
     */
    public class CrudMode {
        /**
         * Mode for listing records.
         */
        public static final int LIST = 0;
    
        /**
         * Mode for creating a new record.
         */
        public static final int CREATE = 1;
    
        /**
         * Mode for editing an existing record.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top