Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/CredentialsInternalTest.java

            assertEquals(creds.getUserDomain(), copy.getUserDomain());
            assertEquals(creds.isAnonymous(), copy.isAnonymous());
            assertEquals(creds.isGuest(), copy.isGuest());
            assertSame(subject, copy.getSubject(), "subject is the same reference in clone");
        }
    
        @Test
        @DisplayName("createContext returns SSPContext and interacts with CIFSContext")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K 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/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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            }
        }
    
        @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
        @EnumSource(SubjectVariant.class)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

            try (SmbSessionImpl treesess = t.getSession()) {
                if (treesess.getCredentials().isAnonymous() || treesess.getCredentials().isGuest()) {
                    // refresh anonymous session or fallback to anonymous from guest login
                    try (SmbSessionInternal s =
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  8. src/main/java/jcifs/smb/NtlmContext.java

            return new Type3Message(this.transportContext, msg2, this.targetName, passwordString,
                    this.auth.isGuest() ? null : this.auth.getUserDomain(),
                    this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(), this.workstation,
                    this.ntlmsspFlags, this.auth.isGuest() || !this.auth.isAnonymous());
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  9. 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)
  10. .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)
Back to Top