Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 420 for SERVER (0.56 sec)

  1. src/main/java/jcifs/DfsReferralData.java

         * @throws ClassCastException
         *             if the type is not valid for this object
         */
        <T extends DfsReferralData> T unwrap(Class<T> type);
    
        /**
         * Get the server this referral points to
         *
         * @return the server this referral points to
         */
        String getServer();
    
        /**
         * Get the domain this referral is for
         *
         * @return the domain this referral is for
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/MockWitnessService.java

            if (serverSocket != null && !serverSocket.isClosed()) {
                try {
                    serverSocket.close();
                } catch (IOException e) {
                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/DfsTest.java

        }
    
        @Test
        void testInsert() {
            String path = "\\server\\share\\folder";
            DfsReferral dr = new DfsReferral();
            dr.pathConsumed = path.length();
    
            dfs.insert(path, dr);
    
            assertNotNull(dfs.referrals);
            assertFalse(dfs.referrals.map.isEmpty());
            String key = "\\server\\share\\folder";
            assertTrue(dfs.referrals.map.containsKey(key.toLowerCase()));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/AuthenticationProvider.java

         * @return the authentication type
         */
        AuthType getAuthType();
    
        /**
         * Authenticates using the provided context
         *
         * @param context the CIFS context
         * @param challenge the server challenge (may be null for some auth types)
         * @return authentication response data
         * @throws CIFSException if authentication fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  5. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 NetShareEnum request message for enumerating network shares on a server.
     * This class implements the SMB1 transaction to retrieve a list of available shares
     * from the target server, including share names, types, and descriptions.
     */
    public class NetShareEnum extends SmbComTransaction {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Response.java

         */
        void received();
    
        /**
         * Unset received status
         */
        void clearReceived();
    
        /**
         * Gets the number of credits granted by the server.
         *
         * @return number of credits granted by the server
         */
        int getGrantedCredits();
    
        /**
         * Gets the error status code.
         *
         * @return status code
         */
        int getErrorCode();
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        @Test
        @DisplayName("handleDFSReferral handles null referral and empty path")
        void handleDfsReferralNullAndEmpty() {
            when(locator.handleDFSReferral(null, "")).thenReturn("smb://server/share/");
            assertEquals("smb://server/share/", locator.handleDFSReferral(null, ""));
            verify(locator).handleDFSReferral(null, "");
            verifyNoMoreInteractions(locator);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/Pac.java

                    case PacConstants.SERVER_CHECKSUM:
                        // PAC Server Signature
                        if (this.serverSignature == null) {
                            this.serverSignature = new PacSignature(bufferData);
                            if (log.isDebugEnabled()) {
                                log.debug(String.format("Server signature is type %d @ %d len %d", this.serverSignature.getType(), bufferOffset,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/AddressTest.java

        }
    
        @Test
        @DisplayName("getHostName should return valid hostname or address")
        void testGetHostNameContract() {
            // Given
            String expectedHostName = "server.example.com";
            when(mockAddress.getHostName()).thenReturn(expectedHostName);
    
            // When
            String hostName = mockAddress.getHostName();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                    () -> new SmbFileHandleImpl(cfg, new byte[] { 1, 2 }, null, "//server/share", 0, 0, 0, 0, 0L));
        }
    
        @Test
        @DisplayName("Constructor with null cfg throws NPE")
        void constructor_nullCfg_throwsNPE() {
            stubValidTree(7L, true, true);
            assertThrows(NullPointerException.class, () -> new SmbFileHandleImpl(null, 42, tree, "//server/share", 0, 0, 0, 0, 0L));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top