Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 279 for security1 (1.62 sec)

  1. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** The referenced account is currently disabled */
        int NT_STATUS_ACCOUNT_DISABLED = 0xC0000072;
        /** No mapping between account names and security IDs was done */
        int NT_STATUS_NONE_MAPPED = 0xC0000073;
        /** The security ID structure is invalid */
        int NT_STATUS_INVALID_SID = 0xC0000078;
        /** The requested pipe instance is not available */
        int NT_STATUS_INSTANCE_NOT_AVAILABLE = 0xC00000ab;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/audit/SecurityAuditLogger.java

    import java.util.concurrent.atomic.AtomicLong;
    import java.util.regex.Pattern;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import org.slf4j.MDC;
    
    /**
     * Security audit logger for SMB operations.
     * Provides structured logging of security-relevant events with sensitive data masking.
     *
     * Features:
     * - Structured JSON logging
     * - Sensitive data masking
     * - Event categorization
     * - Performance metrics
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/CommonServerMessageBlock.java

        /**
         * Sets the user ID.
         *
         * @param uid the user ID to set
         */
        void setUid(int uid);
    
        /**
         * Sets whether extended security is enabled.
         *
         * @param extendedSecurity true to enable extended security
         */
        void setExtendedSecurity(boolean extendedSecurity);
    
        /**
         * Sets the session ID.
         *
         * @param sessionId the session ID to set
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.ENCRYPTION_ENABLED), "Should have 1 encryption event");
        }
    
        @Test
        @DisplayName("Test log security violation")
        void testLogSecurityViolation() {
            Map<String, Object> context = new HashMap<>();
            context.put("sourceIP", "192.168.1.100");
            context.put("attemptCount", 5);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     */
    package jcifs.internal;
    
    /**
     * Interface for SMB protocol negotiation request messages.
     * Represents the client's request to negotiate SMB protocol version and capabilities
     * with the server, including security requirements like message signing.
     *
     * @author mbechler
     */
    public interface SmbNegotiationRequest {
    
        /**
         * Checks whether SMB message signing is enforced by the client.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type2Message.java

        }
    
        /**
         * Returns the local security context.
         *
         * @return A <code>byte[]</code> containing the local security
         *         context. This is used by the client to negotiate local
         *         authentication.
         */
        public byte[] getContext() {
            return this.context;
        }
    
        /**
         * Sets the local security context. This is used by the client
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

         *
         * @return the sessionFlags
         */
        public int getSessionFlags() {
            return this.sessionFlags;
        }
    
        /**
         * Gets the security blob from the session setup response
         *
         * @return security blob
         */
        public byte[] getBlob() {
            return this.blob;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb1/http/NtlmHttpServletRequest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.http;
    
    import java.security.Principal;
    
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletRequestWrapper;
    
    class NtlmHttpServletRequest extends HttpServletRequestWrapper {
    
        Principal principal;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
         * Build a SESSION_SETUP response body with specified flags and security blob.
         * securityBufferOffset is set relative to header start.
         */
        private void buildSessionSetupBody(byte[] buf, int headerStart, int bodyStart, int sessionFlags, int secBufOffset, byte[] blob) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top