Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for anonymous (0.06 sec)

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

        }
    
        // Test ANONYMOUS constant
        @Test
        void testAnonymousConstant() {
            assertNotNull(NtlmPasswordAuthentication.ANONYMOUS);
            assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getDomain());
            assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getUsername());
            assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getPassword());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Credentials.java

         * Get the domain of the user account.
         * @return the domain the user account is in
         */
        String getUserDomain();
    
        /**
         * Check if these are anonymous credentials.
         * @return whether these are anonymous credentials
         */
        boolean isAnonymous();
    
        /**
         * Check if these are guest credentials.
         * @return whether these are guest credentials
         */
        boolean isGuest();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            bufferIndex += securityBufferLength;
    
            return bufferIndex - start;
        }
    
        /**
         * Checks whether the session is either anonymous or a guest session
         *
         * @return whether the session is either anonymous or a guest session
         */
        public boolean isLoggedInAsGuest() {
            return (this.sessionFlags & (SMB2_SESSION_FLAGS_IS_GUEST | SMB2_SESSION_FLAGS_IS_NULL)) != 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  4. cmd/server-startup-msg.go

    	// Colorize the message and print.
    	logger.Startup(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr)))
    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) {
    		logger.Startup(color.Blue("   RootUser: ") + color.Bold("%s ", cred.AccessKey))
    		logger.Startup(color.Blue("   RootPass: ") + color.Bold("%s \n", cred.SecretKey))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            assertTrue(npe2.getMessage().contains("non-null"));
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Sanity: implementing via an anonymous class works the same as a lambda.
         */
        @Test
        @DisplayName("anonymous class implementation behaves correctly")
        void anonymousClassImplementation() throws Exception {
            SmbFilenameFilter filter = new SmbFilenameFilter() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/CredentialsTest.java

        }
    
        @Test
        @DisplayName("Should check for anonymous credentials")
        void testIsAnonymous() {
            // Given
            when(mockCredentials.isAnonymous()).thenReturn(true);
    
            // When
            boolean isAnonymous = mockCredentials.isAnonymous();
    
            // Then
            assertTrue(isAnonymous);
            verify(mockCredentials).isAnonymous();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            assertEquals(mockAuth, setupAndX.cred);
        }
    
        @Test
        void testConstructorWithAnonymousAuth() throws Exception {
            // Test with anonymous authentication
            SmbComSessionSetupAndX anonSetup = new SmbComSessionSetupAndX(mockSession, mockAndx, NtlmPasswordAuthentication.ANONYMOUS);
            assertNotNull(anonSetup);
            assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, anonSetup.command);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/CIFSContext.java

         *
         * @return a child context using the configured default credentials
         */
        CIFSContext withDefaultCredentials();
    
        /**
         * Create a child context with anonymous credentials
         *
         * @return a child context using anonymous credentials
         */
        CIFSContext withAnonymousCredentials();
    
        /**
         * Create a child context with guest credentials
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

            assertFalse(notEnforcedRequest.isSigningEnforced(), "Not enforced request should return false");
        }
    
        @Test
        @DisplayName("Test anonymous class implementation")
        void testAnonymousClassImplementation() {
            // Given
            SmbNegotiationRequest anonymousRequest = new SmbNegotiationRequest() {
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt

        level = DeprecationLevel.ERROR,
      )
      fun peerCertificates(): List<Certificate> = peerCertificates
    
      /** Returns the remote peer's principle, or null if that peer is anonymous. */
      @get:JvmName("peerPrincipal")
      val peerPrincipal: Principal?
        get() = (peerCertificates.firstOrNull() as? X509Certificate)?.subjectX500Principal
    
      @JvmName("-deprecated_peerPrincipal")
      @Deprecated(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 05 09:48:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top