Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for muchos (0.08 sec)

  1. src/main/java/jcifs/smb/SpnegoContext.java

         */
        ASN1ObjectIdentifier[] getMechs() {
            return this.mechs;
        }
    
        /**
         * @return the mechanisms announced by the remote end
         */
        ASN1ObjectIdentifier[] getRemoteMechs() {
            return this.remoteMechs;
        }
    
        /**
         * Set what mechanism is being used for this context.
         *
         * @param mechs
         */
        void setMechs(final ASN1ObjectIdentifier[] mechs) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

                        final ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[sequence.size()];
                        for (int i = mechs.length - 1; i >= 0; i--) {
                            mechs[i] = (ASN1ObjectIdentifier) sequence.getObjectAt(i);
                        }
                        setMechanisms(mechs);
                        break;
                    case 1:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        @Mock
        CIFSContext tc;
    
        @Mock
        Configuration config;
    
        private static byte[] spnegoInitWithMechs(ASN1ObjectIdentifier... mechs) {
            // Build a minimal SPNEGO NegTokenInit containing the provided mechanisms
            NegTokenInit tok = new NegTokenInit(mechs, 0, null, null);
            return tok.toByteArray();
        }
    
        @Test
        @DisplayName("createContext: rejects NetBIOS/short host names")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("getSupportedMechs returns expected array")
        void getSupportedMechs_happyPath() {
            ASN1ObjectIdentifier[] mechs = ctx.getSupportedMechs();
            assertNotNull(mechs);
            assertArrayEquals(Kerb5Context.SUPPORTED_MECHS, mechs);
        }
    
        @Test
        @DisplayName("getFlags with all false yields 0")
        void getFlags_allFalse() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Authenticator.java

                }
                if (tok.getMechanisms() != null) {
                    Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                    boolean foundKerberos = false;
                    for (ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS) {
                        foundKerberos |= mechs.contains(mech);
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SSPContextTest.java

                assertTrue(ctx.isPreferredMech(mech1), "first supported is preferred");
                assertArrayEquals(new ASN1ObjectIdentifier[] { mech1, mech2 }, ctx.getSupportedMechs(), "supported mechs");
    
                // MIC roundtrip: calculate then verify
                byte[] data = new byte[] { 10, 20, 30 };
                byte[] mic = ctx.calculateMIC(data);
                assertNotNull(mic);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        log.debug("Have initial token " + tok);
                    }
                    if (tok.getMechanisms() != null) {
                        Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                        if (!mechs.contains(NtlmContext.NTLMSSP_OID)) {
                            throw new SmbUnsupportedOperationException("Server does not support NTLM authentication");
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

                }
            }
    
            long elapsed = (System.nanoTime() - time) / 1000000;
            // Different hosts should NOT wait for each other
            assertTrue(elapsed + " should be much less than " + (waittime * numTasks), elapsed < waittime * numTasks / 2);
        }
    
        /**
         * Test that file:// URLs are not delayed
         */
        public void test_fileUrl_noDelay() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        }
    
        /**
         * Test that insufficient buffer size is properly detected.
         */
        @Test
        public void testInsufficientBufferSize() {
            byte[] tooSmallBuffer = new byte[32]; // Much smaller than required 65 bytes
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(tooSmallBuffer, 0);
            });
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. docs/smb3-features/04-directory-leasing-design.md

        long start1 = System.currentTimeMillis();
        SmbFile[] files1 = dir.listFiles();
        long time1 = System.currentTimeMillis() - start1;
        
        // Second listing should use cache (much faster)
        long start2 = System.currentTimeMillis();
        SmbFile[] files2 = dir.listFiles();
        long time2 = System.currentTimeMillis() - start2;
        
        assertEquals(files1.length, files2.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top