Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 279 for security2 (1.92 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            // Initialize ServerData to avoid NullPointerException
            SmbTransport.ServerData serverData = transport.new ServerData();
            serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE
            serverData.encryptionKey = new byte[8]; // Initialize with empty encryption key
    
            // Configure the mock transport with the server data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                buf.setIndex(0);
                this.securityProvider.wrap(buf);
            }
            return buf;
        }
    
        /**
         * Sets the DCERPC security provider for authentication and message protection
         * @param securityProvider the security provider to use for DCERPC authentication
         */
        public void setDcerpcSecurityProvider(final DcerpcSecurityProvider securityProvider) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * Impersonation level - server can impersonate the client's security context on the local system
         */
        public static final int SMB2_IMPERSONATION_LEVEL_IMPERSONATION = 0x2;
    
        /**
         * Delegate impersonation level - server can impersonate the client's security context on remote systems
         */
        public static final int SMB2_IMPERSONATION_LEVEL_DELEGATE = 0x3;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            }
        }
    
        @Nested
        @DisplayName("Configuration Tests")
        class ConfigurationTests {
    
            @Test
            @DisplayName("Should set security provider")
            void testSetDcerpcSecurityProvider() {
                // When: Setting security provider
                handle.setDcerpcSecurityProvider(mockSecurityProvider);
    
                // Then: Should not throw exception (private field, no direct verification)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Set Info request message. This command is used to modify file attributes,
     * security information, or other metadata on the server.
     *
     * @author mbechler
     *
     */
    public class Smb2SetInfoRequest extends ServerMessageBlock2Request<Smb2SetInfoResponse> implements RequestWithFileId {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.ByteArrayOutputStream;
    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.MockedConstruction;
    import org.mockito.Mockito;
    
    import jcifs.pac.PACDecodingException;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. pom.xml

    							jcifs*;version="${osgi.pkg.version}",
    						</Export-Package>
    						<Private-Package />
    						<Import-Package>
    							jakarta.servlet*;resolution:=optional,
    							com.sun.security.jgss;resolution:=optional,
    							org.bouncycastle*;version="1.63",
    							!jcifs.internal*,
    							*
    						</Import-Package>
    					</instructions>
    				</configuration>
    			</plugin>
    			<plugin>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        static final int FILE_SEQUENTIAL_ONLY = 0x00000004;
        static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010;
        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
        static final int SECURITY_EFFECTIVE_ONLY = 0x02;
    
        private int rootDirectoryFid;
    
        private final int extFileAttributes;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/FileNotifyInformation.java

         * Any change to the extended attributes (EA) of a file in the watched directory or subtree causes a change notification wait operation to return.
         */
        int FILE_NOTIFY_CHANGE_EA = 0x00000080;
    
        /**
         * Any security-descriptor change in the watched directory or subtree causes a change notification wait operation to
         * return.
         */
        int FILE_NOTIFY_CHANGE_SECURITY = 0x00000100;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        }
    
        /** Simple test stub of {@link ServerData} */
        private static class ServerDataStub extends ServerData {
            public ServerDataStub() {
                this.security = SmbConstants.SECURITY_USER;
                this.encryptedPasswords = false;
                this.encryptionKey = new byte[0];
            }
        }
    
        @Test
        void anonymousGuestCredentials() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top