Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 208 for isGuest (0.04 seconds)

  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();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/Credentials.java

         */
        boolean isAnonymous();
    
        /**
         * Check if these are guest credentials.
         * @return whether these are guest credentials
         */
        boolean isGuest();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. 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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (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();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  5. 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
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (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();
                            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. .github/workflows/issue-metadata.yml

    name: Check issues metadata
    
    on:
      issues:
        types: [ opened, labeled, unlabeled, closed, reopened, milestoned, demilestoned ]
    
    permissions: {}
    
    jobs:
      check_issue_metadata:
        permissions:
          issues: write
        runs-on: ubuntu-latest
        steps:
          # Check that issues have proper metadata: labels and milestone
          # https://github.com/gradle/issue-management-action/blob/main/src/issue-metadata.ts
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 08 11:33:25 GMT 2025
    - 474 bytes
    - Click Count (0)
  9. .asf.yaml

        maven-3.10.x: {}
        maven-3.9.x: {}
        maven-3.8.x: {}
        maven-3.0.x: {}
        maven-2.2.x: {}
        pre-reset-master: {}
      features:
        issues: true
    notifications:
      commits: ******@****.***
      issues: issues@maven.apache.org
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 30 18:09:45 GMT 2026
    - 709 bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt

            }
            val issues = getFixedIssues()
            require(!issues.isEmpty()) {
                "No fixed issues found for milestone ${milestone.get()}"
            }
            val issuesList = issues.joinToString("\n") { "- [${it.title}](${it.htmlUrl})" }
            updateReleaseNotes(issuesList)
        }
    
        private
        fun getFixedIssues(): List<GitHubIssue> {
            val issues = mutableListOf<GitHubIssue>()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 5.1K bytes
    - Click Count (0)
Back to Top