Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 98 for anonymous (0.04 sec)

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

     * scattered authentication implementations.
     */
    public interface AuthenticationProvider {
    
        /**
         * Authentication type enumeration
         */
        enum AuthType {
            NTLM, KERBEROS, SPNEGO, GUEST, ANONYMOUS
        }
    
        /**
         * Gets the authentication type
         *
         * @return the authentication type
         */
        AuthType getAuthType();
    
        /**
         * Authenticates using the provided context
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. buildscripts/test-timeout.sh

    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	set -e
    
    	"${PWD}/mc" mb minio/testbucket
    	"${PWD}/mc" anonymous set public minio/testbucket
    
    	# slow header writing
    	send_put_object_request 20 0 && exit -1
    	"${PWD}/mc" stat minio/testbucket/testobject && exit -1
    
    	# quick header write and slow bodywrite
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Dec 02 13:21:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            assertArrayEquals(blob, resp.getBlob(), "Security blob should match");
            assertEquals(sessionFlags, resp.getSessionFlags(), "Session flags should decode");
            assertTrue(resp.isLoggedInAsGuest(), "Guest/anonymous should be detected");
    
            // prepare should propagate session id when received
            CIFSContext mockCtx = mock(CIFSContext.class);
            when(mockCtx.getConfig()).thenReturn(mock(Configuration.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

                request.setFileId(secondFileId);
                request.setFileId(testFileId);
            }, "Should handle multiple setFileId calls");
        }
    
        @Test
        @DisplayName("Should test interface with anonymous implementation")
        void testAnonymousImplementation() {
            // Given
            byte[] capturedFileId = new byte[1];
            RequestWithFileId anonymousImpl = new RequestWithFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            assertTrue(wrappedContext instanceof CIFSContextCredentialWrapper);
            // Verify that the new context uses NtlmPasswordAuthenticator (anonymous)
            assertTrue(wrappedContext.getCredentials() instanceof NtlmPasswordAuthenticator);
            assertTrue(wrappedContext.getCredentials().isAnonymous());
        }
    
        @Test
        void testWithDefaultCredentials() {
            CIFSContext wrappedContext = context.withDefaultCredentials();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. buildscripts/minio-upgrade.sh

    		-f "buildscripts/upgrade-tests/compose.yml" \
    		up -d --build
    
    	add_alias
    
    	mc mb minio/minio-test/
    	mc cp ./minio minio/minio-test/to-read/
    	mc cp /etc/hosts minio/minio-test/to-read/hosts
    	mc anonymous set download minio/minio-test
    
    	verify_checksum_mc ./minio minio/minio-test/to-read/minio
    
    	curl -s http://127.0.0.1:9000/minio-test/to-read/hosts | sha256sum
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Apr 21 16:24:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                return new JAASAuthenticator();
            }
        }
    
        @Test
        @DisplayName("isAnonymous and isGuest are always false")
        void testIsAnonymousAndGuestFalse() {
            JAASAuthenticator auth = new JAASAuthenticator();
            // JAAS-based authenticator should never be anonymous or guest
            assertFalse(auth.isAnonymous());
            assertFalse(auth.isGuest());
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/InfoTest.java

            transactionMock = mock(SmbComTransactionResponse.class);
        }
    
        @Test
        void testSmbComQueryInformationResponseGetters() throws Exception {
            // The constructor is package‑private; use an anonymous subclass
            SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) {
            };
            java.lang.reflect.Field fileAttr = SmbComQueryInformationResponse.class.getDeclaredField("fileAttributes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            }
    
            @Override
            public boolean isGuest() {
                return false; // not guest for test purposes
            }
    
            @Override
            public boolean isAnonymous() {
                return false; // not anonymous for test purposes
            }
    
            @Override
            public String getUserDomain() {
                return "TESTDOMAIN"; // test domain for test purposes
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. schema/field.go

    			}
    
    			if !strings.Contains(v, "update") {
    				field.Updatable = false
    			}
    		}
    	}
    
    	// Normal anonymous field or having `EMBEDDED` tag
    	if _, ok := field.TagSettings["EMBEDDED"]; ok || (field.GORMDataType != Time && field.GORMDataType != Bytes && !isValuer &&
    		fieldStruct.Anonymous && (field.Creatable || field.Updatable || field.Readable)) {
    		kind := reflect.Indirect(fieldValue).Kind()
    		switch kind {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
Back to top