Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for anonymous (0.09 sec)

  1. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class SessionSetupHandlerTest {
    
        // Provide two implementations: an anonymous class and a Mockito mock
        static Stream<Arguments> implementations() {
            SessionSetupHandler anon = new SessionSetupHandler() {
                // no methods to implement (marker interface)
            };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertTrue(guestAuth.isGuest());
            assertFalse(guestAuth.isAnonymous());
    
            // Test anonymous detection
            NtlmPasswordAuthenticator anonAuth = new NtlmPasswordAuthenticator("", new char[0]);
            assertTrue(anonAuth.isAnonymous());
            assertFalse(anonAuth.isGuest());
    
            // Test user authentication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    // response for anonymous/unsigned and unknown signature type HTTP request.
    
    // Here is the brief description of some of the arguments to the function below.
    //
    //	apiRouter - http.Handler with the relevant API endPoint (API endPoint under test) registered.
    //	anonReq   - unsigned *http.Request to invoke the handler's response for anonymous requests.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         */
        public enum AuthenticationType {
            /**
             * Null/anonymous authentication
             *
             * Login with no credentials
             */
            NULL,
            /**
             * Guest authentication
             *
             * Allows login with invalid credentials (username and/or password)
             * Fallback to anonymous authentication is permitted
             */
            GUEST,
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. clause/expression.go

    					for i := 0; i < modelType.NumField(); i++ {
    						if fieldStruct := modelType.Field(i); ast.IsExported(fieldStruct.Name) {
    							namedMap[fieldStruct.Name] = reflectValue.Field(i).Interface()
    
    							if fieldStruct.Anonymous {
    								appendFieldsToMap(reflectValue.Field(i))
    							}
    						}
    					}
    				}
    			}
    
    			appendFieldsToMap(reflect.ValueOf(value))
    		}
    	}
    
    	name := make([]byte, 0, 10)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        int NTLMSSP_NEGOTIATE_NETWARE = 0x00000100;
    
        /**
         * Indicates support for NTLM authentication.
         */
        int NTLMSSP_NEGOTIATE_NTLM = 0x00000200;
    
        /**
         * Indicates that this is an anonymous connection
         */
        int NTLMSSP_NEGOTIATE_ANONYMOUS = 0x00000800;
    
        /**
         * Indicates whether the OEM-formatted domain name in which the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *
       * @return the fully constructed {@link ThreadFactory}
       */
      public ThreadFactory build() {
        return doBuild(this);
      }
    
      // Split out so that the anonymous ThreadFactory can't contain a reference back to the builder.
      // At least, I assume that's why. TODO(cpovirk): Check, and maybe add a test for this.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

                     */
                    uid = 0;
    
                    do {
                        switch (state) {
                        case 10: /* NTLM */
                            if (auth != NtlmPasswordAuthentication.ANONYMOUS && transport.hasCapability(SmbConstants.CAP_EXTENDED_SECURITY)) {
                                state = 20; /* NTLMSSP */
                                break;
                            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/CIFSContextTest.java

            // Then
            assertEquals(newContext, context);
            verify(mockContext).withDefaultCredentials();
        }
    
        @Test
        @DisplayName("Should get context with anonymous credentials")
        void testWithAnonymousCredentials() {
            // Given
            CIFSContext newContext = mock(CIFSContext.class);
            when(mockContext.withAnonymousCredentials()).thenReturn(newContext);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            assertEquals(2, shutdownCount.get());
    
            jobExecutor.shutdown();
            assertEquals(3, shutdownCount.get());
        }
    
        public void test_shutdownListener_interface() {
            // Test anonymous ShutdownListener implementation
            final AtomicBoolean flag = new AtomicBoolean(false);
            ShutdownListener listener = new ShutdownListener() {
                @Override
                public void onShutdown() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top