Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for negotiator (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

         */
        @Override
        public byte[] getServerEncryptionKey() {
            if (this.negotiated == null) {
                return null;
            }
    
            if (this.negotiated instanceof SmbComNegotiateResponse) {
                return ((SmbComNegotiateResponse) this.negotiated).getServerData().encryptionKey;
            }
            return null;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        }
    
        /**
         * Gets the common capabilities negotiated between client and server.
         *
         * @return the common/negotiated capabilities
         */
        public final int getCommonCapabilities() {
            return this.commonCapabilities;
        }
    
        /**
         * Gets the initial security blob for authentication negotiation.
         *
         * @return initial security blob
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

         * @param skipAuthentication If true the negotiation is only done if it is
         * initiated by the client (MSIE post requests after successful NTLM SSP
         * authentication). If false and the user has not been authenticated yet
         * the client will be forced to send an authentication (server sends
         * HttpServletResponse.SC_UNAUTHORIZED).
         * @return True if the negotiation is complete, otherwise false
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

         * @return True if the negotiation is complete, otherwise false
         * @throws IOException if an I/O error occurs
         * @throws ServletException if a servlet error occurs
         */
        protected NtlmPasswordAuthentication negotiate(final HttpServletRequest req, final HttpServletResponse resp,
                final boolean skipAuthentication) throws IOException, ServletException {
            Address dc;
            String msg;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB 3.1.1 Compression Capabilities negotiate context.
     *
     * This context is used during SMB2 negotiation to negotiate compression
     * algorithms for SMB3 data compression support.
     */
    public class CompressionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                log.debug("Secure negotiation failure");
                throw new CIFSException("Mismatched attributes validating negotiate info");
            }
    
            log.debug("Secure negotiation OK");
        }
    
        /**
         * @param transport
         * @return
         * @throws SmbException
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        void testPreauthHashThreadSafety() throws Exception {
            // Setup SMB3.1.1 negotiation
            when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311);
            when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512
            setPrivateField(transport, "smb2", true);
            setPrivateField(transport, "negotiated", negotiateResponse);
    
            int threadCount = 10;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean useNtStatus = true;
        /** Whether to use extended security negotiation */
        protected boolean useExtendedSecurity = true;
        /** Force use of extended security negotiation */
        protected boolean forceExtendedSecurity = false;
        /** Whether to negotiate only SMB2 or higher protocols */
        protected boolean smb2OnlyNegotiation = false;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Mock the negotiation response
            when(negotiationResponse.isSigningRequired()).thenReturn(false);
            when(negotiationResponse.isSigningNegotiated()).thenReturn(false);
            when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true);
    
            // Use reflection to set the negotiated response
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

    package jcifs.internal.smb2.nego;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Encryption Negotiate Context.
     *
     * This negotiate context is used in SMB 3.x to negotiate
     * encryption capabilities and cipher suites.
     *
     * @author mbechler
     */
    public class EncryptionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top