Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Referral (0.75 sec)

  1. src/main/java/jcifs/internal/dfs/Referral.java

    /**
     * Represents a DFS (Distributed File System) referral entry containing server redirection information.
     * This class handles DFS referral responses that redirect clients to alternate servers for accessing
     * distributed file system resources, supporting multiple DFS versions and referral types.
     */
    public class Referral implements Decodable {
    
        /**
         * Default constructor for Referral.
         */
        public Referral() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

            bufferIndex += 2;
            this.tflags = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.referrals = new Referral[this.numReferrals];
            for (int ri = 0; ri < this.numReferrals; ri++) {
                this.referrals[ri] = new Referral();
                bufferIndex += this.referrals[ri].decode(buffer, bufferIndex, len);
            }
    
            return bufferIndex - start;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/DfsReferralData.java

        /**
         * 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
         */
        String getDomain();
    
        /**
         * Get the share this referral points to
         *
         * @return the share this referral points to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

        /**
         * Check if this referral needs to be resolved further
         *
         * @return whether this refrral needs to be resolved further
         */
        boolean isIntermediate();
    
        /**
         * Combine this referral with another to form a chain
         *
         * @param next the referral to combine with
         * @return new referral, combining a chain of referrals
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

            bufferIndex += 2;
            flags = readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
            referrals = new Referral[numReferrals];
            for (int ri = 0; ri < numReferrals; ri++) {
                referrals[ri] = new Referral();
                bufferIndex += referrals[ri].readWireFormat(buffer, bufferIndex, len);
            }
    
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DfsReferral.java

        /** The underlying DFS referral data */
        private final DfsReferralData data;
    
        /**
         * Constructs a DfsReferral with the specified referral data
         *
         * @param data the DFS referral data
         */
        public DfsReferral(final DfsReferralData data) {
            this.data = data;
        }
    
        /**
         * Get the DFS referral data associated with this referral
         *
         * @return the DFS referral data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

        void testToString() {
            // Given
            DfsReferral referral = new DfsReferral();
            referral.pathConsumed = 20;
            referral.server = "testServer";
            referral.share = "testShare";
            referral.link = "testLink";
            referral.path = "/test/path";
            referral.ttl = 300;
            referral.expiration = 1234567890L;
            referral.resolveHashes = true;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        /** Target share for this referral */
        public String share; // Share
        /** The complete UNC path link */
        public String link;
        /** Path relative to tree from which this referral was thrown */
        public String path; // Path relative to tree from which this referral was thrown
        /** Whether to resolve hashes in the path */
        public boolean resolveHashes;
        /** Expiration time for this referral entry */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            String resolved = "smb://server/share/path";
            when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved);
    
            String out = locator.handleDFSReferral(referral, reqPath);
            assertEquals(resolved, out);
    
            // Verify exact argument interaction
            verify(locator, times(1)).handleDFSReferral(referral, reqPath);
            verifyNoMoreInteractions(locator);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

    /**
     * Trans2 GetDfsReferral response message for DFS referral queries.
     * This class handles the response from a TRANS2_GET_DFS_REFERRAL request, which returns
     * DFS referral information for redirecting clients to distributed file system targets.
     */
    public class Trans2GetDfsReferralResponse extends SmbComTransactionResponse {
    
        /**
         * Indicates that the referral contains a name list.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top