Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for isGuest (0.21 sec)

  1. src/test/java/jcifs/CredentialsTest.java

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

            // Verify that the new context uses NtlmPasswordAuthenticator (guest)
            assertTrue(wrappedContext.getCredentials() instanceof NtlmPasswordAuthenticator);
            assertTrue(wrappedContext.getCredentials().isGuest());
        }
    
        @Test
        void testGetCredentials() {
            assertEquals(mockCredentials, context.getCredentials());
        }
    
        @Test
        void testHasDefaultCredentials_withNonAnonymous() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Credentials.java

         */
        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)
  4. src/main/java/jcifs/smb/JAASAuthenticator.java

        @Override
        public boolean isAnonymous() {
            return false;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#isGuest()
         */
        @Override
        public boolean isGuest() {
            return false;
        }
    
        @Override
        public Kerb5Authenticator clone() {
            JAASAuthenticator auth = new JAASAuthenticator();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            setupNegotiateStubs();
    
            NtlmPasswordAuthenticator auth = mock(NtlmPasswordAuthenticator.class);
            when(auth.isAnonymous()).thenReturn(true);
            when(auth.isGuest()).thenReturn(true);
            when(auth.getUsername()).thenReturn("guest");
            when(auth.getUserDomain()).thenReturn("dom");
    
            // Construct
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            }
    
            @Override
            public void refresh() throws CIFSException {
                // no-op for tests
            }
    
            @Override
            public boolean isGuest() {
                return false; // not guest for test purposes
            }
    
            @Override
            public boolean isAnonymous() {
                return false; // not anonymous for test purposes
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                        this.lmHash = new byte[0];
                        this.ntHash = new byte[0];
                        this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                        if (a.isGuest()) {
                            this.accountName = a.getUsername();
                            if (this.isUseUnicode()) {
                                this.accountName = this.accountName.toUpperCase();
                            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. .github/workflows/issues.yaml

    # @format
    
    name: Issue Workflow
    
    on:
      issues:
        types:
          - opened
    
    jobs:
      add-to-project:
        name: Add issue to project
        runs-on: ubuntu-latest
        steps:
          - uses: actions/add-to-project@v0.5.0
            with:
              project-url: https://github.com/orgs/miniohq/projects/2
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 11 07:02:00 UTC 2024
    - 338 bytes
    - Viewed (0)
  9. .github/stale.yml

    # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
    daysUntilClose: 15
    
    # Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
    onlyLabels: []
    
    # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
    exemptLabels:
      - "security"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 24 04:36:59 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. .github/workflows/invalid_question.yml

    name: "Close invalid questions issues"
    on:
      schedule:
      - cron: "*/10 * * * *"
    
    permissions:
      contents: read
    
    jobs:
      stale:
        permissions:
          issues: write  # for actions/stale to close stale issues
          pull-requests: write  # for actions/stale to close stale PRs
        runs-on: ubuntu-latest
        env:
          ACTIONS_STEP_DEBUG: true
        steps:
        - name: Close Stale Issues
          uses: actions/stale@v8
          with:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Apr 11 02:27:05 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top