Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 69 for Negotiation (0.11 seconds)

  1. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether to use NT status codes instead of DOS error codes */
        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)
  2. src/main/java/jcifs/smb/NtlmContext.java

        private static final Logger log = LoggerFactory.getLogger(NtlmContext.class);
    
        /**
         * The NTLMSSP OID (1.3.6.1.4.1.311.2.2.10) used in SPNEGO negotiation.
         */
        public static ASN1ObjectIdentifier NTLMSSP_OID;
    
        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  3. src/test/java/jcifs/config/SecurityConfigurationTest.java

            // Verify IPC signing is enforced (this is a security requirement)
            assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced());
        }
    
        /**
         * Test secure negotiation requirement for SMB3
         */
        @Test
        public void testSecureNegotiateRequired() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/spnego/SpnegoToken.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.spnego;
    
    import java.io.IOException;
    
    /**
     * Abstract base class for SPNEGO authentication tokens used in GSS-API negotiation
     */
    public abstract class SpnegoToken {
    
        /**
         * Protected constructor for SPNEGO token implementations.
         */
        protected SpnegoToken() {
        }
    
        private byte[] mechanismToken;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (2)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            final SmbNegotiationResponse r = this.negotiated;
            if (r == null) {
                throw new SmbException("Connection did not complete, failed to get negotiation response");
            }
            return r;
        }
    
        /**
         * @return whether this is SMB2 transport
         * @throws SmbException
         */
        @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)
  6. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Mock
        private Response response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test isValid returns true for valid negotiation")
        void testIsValidReturnsTrue() {
            // Arrange
            when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true);
    
            // Act
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
            final Smb2SigningDigest dgst = getDigest();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         */
        public final int getCommonCapabilities() {
            return this.commonCapabilities;
        }
    
        /**
         * Gets the initial security blob for authentication negotiation.
         *
         * @return initial security blob
         */
        public byte[] getSecurityBlob() {
            return this.securityBuffer;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * SPNEGO (Security Provider Negotiation Protocol) authenticator implementation.
     *
     * This class provides Single Sign-On (SSO) authentication using the SPNEGO protocol,
     * which is commonly used for Kerberos-based authentication in Windows environments.
     * It handles the negotiation between client and server to establish a secure
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.8K bytes
    - Click Count (3)
Back to Top