Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 118 for tc (0.02 seconds)

  1. src/main/java/jcifs/NetbiosAddress.java

         *
         * @param tc
         *            context to use
         * @return whether this address is in conflict with another address
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        boolean isInConflict(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Determines if this address is active.
         *
         * @param tc
         *            context to use
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                log.debug("Ignoring invalid initial token", e1);
            }
    
            return new SpnegoContext(tc.getConfig(), setupTargetName(tc, host, new NtlmContext(tc, this, doSigning)));
        }
    
        private static SSPContext setupTargetName(CIFSContext tc, String host, NtlmContext ntlmContext) {
            if (host != null && tc.getConfig().isSendNTLMTargetName()) {
                ntlmContext.setTargetName(String.format("cifs/%s", host));
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/ntlmssp/Type1Message.java

         * environment.
         *
         * @param tc
         *            context to use
         */
        public Type1Message(final CIFSContext tc) {
            this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
        /**
         * Creates a Type-1 message with the specified parameters.
         *
         * @param tc
         *            context to use
         * @param flags
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/SidResolver.java

         * @throws CIFSException if there is an error resolving the SIDs
         */
        void resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) throws CIFSException;
    
        /**
         * Resolve part of an array of SIDs using a cache and at most one MSRPC request.
         *
         * @param tc the CIFS context to use
         * @param authorityServerName the server to use for SID resolution
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/http/NtlmSsp.java

         */
        public NtlmPasswordAuthentication doAuthentication(final CIFSContext tc, final HttpServletRequest req, final HttpServletResponse resp,
                final byte[] challenge) throws IOException {
            return authenticate(tc, req, resp, challenge);
        }
    
        /**
         * Performs NTLM authentication for the servlet request.
         *
         * @param tc
         *            context to use
         *
         * @param req
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SIDCacheImpl.java

        public Map<jcifs.SID, List<jcifs.SID>> getLocalGroupsMap(final CIFSContext tc, final String authorityServerName, final int flags)
                throws CIFSException {
            final SID domSid = getServerSid(tc, authorityServerName);
            synchronized (this.sidCache) {
                try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\samr]", tc)) {
                    final samr.SamrSamArray sam = new samr.SamrSamArray();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/transition_test.go

    			input: `<Transition>
    			<Days>1</Days>
    		  </Transition>`,
    			err: errXMLNotWellFormed,
    		},
    	}
    
    	for i, tc := range trTests {
    		var tr Transition
    		err := xml.Unmarshal([]byte(tc.input), &tr)
    		if err != nil {
    			t.Fatalf("%d: xml unmarshal failed with %v", i+1, err)
    		}
    		if err = tr.Validate(); err != tc.err {
    			t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err)
    		}
    	}
    
    	ntrTests := []struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 01 18:58:17 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "server.example.com", init, false));
            assertTrue(ex.getMessage().contains("Server does not support kerberos authentication"));
            // No fallback attempted; config should not be queried in this path
            verify(tc, never()).getConfig();
            verifyNoInteractions(config);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            this.overrideTimeout = overrideTimeout;
        }
    
        /**
         *
         * @return create response
         */
        @Override
        public T initResponse(final CIFSContext tc) {
            final T resp = createResponse(tc, this);
            if (resp == null) {
                return null;
            }
            resp.setDigest(getDigest());
            setResponse(resp);
    
            final ServerMessageBlock2 n = getNext();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled) {
            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled);
        }
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top