Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for CSession (0.06 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Creates a derived session using the given local repository.
         *
         * @param localRepository the new local repository
         * @return the derived session
         * @throws NullPointerException if {@code localRepository} is null
         */
        @Nonnull
        Session withLocalRepository(@Nonnull LocalRepository localRepository);
    
        /**
         * Creates a derived session using the given remote repositories.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        }
    
        @Test
        void testEquals() {
            SmbTree tree1 = new SmbTree(session, "testShare", "testService");
            SmbTree tree2 = new SmbTree(session, "testShare", "testService");
            SmbTree tree3 = new SmbTree(session, "otherShare", "testService");
            SmbTree tree4 = new SmbTree(session, "testShare", "otherService");
    
            // Test equal trees (same share and service)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Session starts with usage count > 0, so acquire/release cycles maintain usage
            assertTrue(session.isInUse(), "Session should be in use initially");
    
            // Test acquire/release cycles (session remains in use due to initial transport acquire)
            for (int i = 0; i < 3; i++) {
                session.acquire();
                assertTrue(session.isInUse(), "Session should be in use after acquire " + i);
    
                session.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                return null;
            });
        }
    
        private OptionalThing<HttpSession> getSession() {
            final HttpSession session = request.getSession(false);
            if (session != null) {
                return OptionalEntity.of(session);
            }
            return OptionalEntity.empty();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            assertFalse(java.util.Arrays.equals(salt1, salt2)); // Should be different
        }
    
        @Test
        @DisplayName("Test session initialization")
        public void testSessionInitialization() throws CIFSException {
            String sessionId = "test-session-1";
            byte[] salt = preauthService.generatePreauthSalt();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            byte[] key = new byte[] { 10, 20 };
            when(session.getSessionKey()).thenReturn(key, new byte[0], null);
    
            assertArrayEquals(key, session.getSessionKey());
            assertArrayEquals(new byte[0], session.getSessionKey());
            assertNull(session.getSessionKey());
            verify(session, times(3)).getSessionKey();
        }
    
        // Error propagation: getSessionKey throws CIFSException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbSession.java

        /**
         * Unwraps this session to the specified type, allowing access to implementation-specific functionality.
         *
         * @param <T> the type to unwrap to
         * @param type the class of the type to unwrap to
         * @return session instance with the given type
         */
        <T extends SmbSession> T unwrap(Class<T> type);
    
        /**
         * Returns the CIFS context that this session is attached to.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        }
    
        /**
         * Retrieves or creates the result document IDs cache from the session.
         * The cache is implemented as an LRU map to limit memory usage.
         *
         * @param session the HTTP session
         * @return the result document IDs cache map
         */
        private Map<String, String[]> getResultDocIdsCache(final HttpSession session) {
            @SuppressWarnings("unchecked")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

     *
     * @author mbechler
     *
     */
    public class Smb2SessionSetupResponse extends ServerMessageBlock2Response {
    
        /**
         * Session flag indicating this is a guest session
         */
        public static final int SMB2_SESSION_FLAGS_IS_GUEST = 0x1;
    
        /**
         * Session flag indicating this is a null/anonymous session
         */
        public static final int SMB2_SESSION_FLAGS_IS_NULL = 0x2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/PreauthIntegrityService.java

                    throw new CIFSException("No preauth integrity context found for session: " + sessionId);
                }
                log.warn("No preauth integrity context for session {}, skipping update", sessionId);
                return;
            }
    
            if (!context.isValid()) {
                throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId);
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top