Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for security2 (0.48 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

                // When
                ACE[] security1 = mockResource.getSecurity();
                ACE[] security2 = mockResource.getSecurity(true);
                ACE[] shareSecurity = mockResource.getShareSecurity(false);
    
                // Then
                assertNotNull(security1, "Security ACEs should not be null");
                assertNotNull(security2, "Security ACEs with resolve should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

     * saml.default.groups=user
     * saml.default.roles=user
     * </pre>
     *
     * <h2>Security Settings (Production)</h2>
     * <p>For production environments, consider enabling these security features:</p>
     * <pre>
     * saml.security.authnrequest_signed=true
     * saml.security.want_messages_signed=true
     * saml.security.want_assertions_signed=true
     * </pre>
     *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 20.2K bytes
    - Viewed (3)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Add a small security buffer at a safe offset (after the fixed structure)
            SMBUtil.writeInt2(64, buffer, 56); // Security buffer offset (relative to header start)
            SMBUtil.writeInt2(8, buffer, 58); // Security buffer length
    
            // Add some dummy security data at offset 64 from start
            buffer[64] = (byte) 0x4E; // NTLMSSP signature start
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            return Stream.of(Arguments.of(OWNER_SECURITY_INFORMATION, "Owner security information only"),
                    Arguments.of(GROUP_SECURITY_INFORMATION, "Group security information only"),
                    Arguments.of(DACL_SECURITY_INFORMATION, "DACL security information only"),
                    Arguments.of(SACL_SECURITY_INFORMATION, "SACL security information only"),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            byte[] testGuid = new byte[16];
            for (int i = 0; i < 16; i++) {
                testGuid[i] = (byte) (i + 1);
            }
            System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
    
            // Set security mode (2 bytes)
            int testSecurityMode = 0x0003;
            SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20);
    
            // Set dialect (2 bytes)
            int testDialect = 0x0311;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        }
    
        @Test
        void testGetSecurityWithValidSecurityDescriptor() throws Exception {
            // Setup mock ShareInfo502 with a minimal valid security descriptor
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            // Create a minimal valid security descriptor binary
            // Format: revision(1) + sbz1(1) + control(2) + ownerOffset(4) + groupOffset(4) + saclOffset(4) + daclOffset(4) = 20 bytes minimum
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertNull(response.getSecurityDescriptor());
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with valid security descriptor")
        void testReadDataWireFormatWithValidSecurityDescriptor() throws Exception {
            // Create a minimal valid security descriptor buffer
            byte[] buffer = createValidSecurityDescriptorBuffer();
    
            // Set error code to 0
            setErrorCode(response, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            final int negotiateContextOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // Validate security buffer parameters
            if (securityBufferLength < 0 || securityBufferLength > 65536) { // 64KB max for security buffer
                throw new SMBProtocolDecodingException("Invalid security buffer length: " + securityBufferLength + " (must be 0-65536)");
            }
            if (securityBufferOffset < 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FLAGS2_LONG_FILENAMES = 0x0001;
        /** Extended attributes supported flag */
        int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        /** Security signatures supported flag */
        int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        /** Extended security negotiation flag */
        int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        /** Resolve paths in DFS flag */
        int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbConstants.java

         */
        int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        /**
         * Security signatures are supported flag.
         */
        int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        /**
         * Security signatures are required flag.
         */
        int FLAGS2_SECURITY_REQUIRE_SIGNATURES = 0x0010;
        /**
         * Extended security negotiation is supported flag.
         */
        int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top