Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getReferrals (0.17 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                assertEquals(2, buffer.getNumReferrals());
                assertEquals(7, buffer.getTflags());
                assertNotNull(buffer.getReferrals());
                assertEquals(2, buffer.getReferrals().length);
                assertEquals(1, buffer.getReferrals()[0].getVersion());
                assertEquals(1, buffer.getReferrals()[1].getVersion());
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various pathConsumed values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

         */
        public final int getTflags() {
            return this.tflags;
        }
    
        /**
         * Get the array of referral entries
         *
         * @return the referrals
         */
        public final Referral[] getReferrals() {
            return this.referrals;
        }
    
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
    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/smb/SmbTransportImpl.java

                }
    
                DfsReferralDataImpl cur = null;
                final long expiration = System.currentTimeMillis() + ctx.getConfig().getDfsTtl() * 1000;
                final Referral[] refs = dfsResp.getReferrals();
                for (int di = 0; di < rn; di++) {
                    final DfsReferralDataImpl dr = DfsReferralDataImpl.fromReferral(refs[di], path, expiration, dfsResp.getPathConsumed());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/DfsTest.java

                return super.getDc(domain, auth);
            }
    
            @Override
            public DfsReferral getReferral(SmbTransport trans, String domain, String root, String path, NtlmPasswordAuthentication auth)
                    throws SmbAuthException {
                if (disabled)
                    return null;
                return super.getReferral(trans, domain, root, path, auth);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

         * @param auth the authentication credentials
         * @return a DFS referral or null if not found
         * @throws SmbAuthException if authentication fails
         */
        public DfsReferral getReferral(final SmbTransport trans, final String domain, final String root, final String path,
                final NtlmPasswordAuthentication auth) throws SmbAuthException {
            if (DISABLED) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DfsImpl.java

         * @param path the DFS path
         * @return the DFS referral data or null if not found
         * @throws SmbAuthException if authentication fails
         */
        protected DfsReferralDataInternal getReferral(final CIFSContext tf, final SmbTransportInternal trans, final String target,
                final String targetDomain, final String targetHost, final String root, final String path) throws SmbAuthException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
Back to top