Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 48 for GUEST (0.03 seconds)

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

            boolean isAnonymous = mockCredentials.isAnonymous();
    
            // Then
            assertTrue(isAnonymous);
            verify(mockCredentials).isAnonymous();
        }
    
        @Test
        @DisplayName("Should check for guest credentials")
        void testIsGuest() {
            // Given
            when(mockCredentials.isGuest()).thenReturn(true);
    
            // When
            boolean isGuest = mockCredentials.isGuest();
    
            // Then
    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/CIFSContext.java

         *
         * @return a child context using anonymous credentials
         */
        CIFSContext withAnonymousCredentials();
    
        /**
         * Create a child context with guest credentials
         *
         * @return a child context using guest credentials
         */
        CIFSContext withGuestCrendentials();
    
        /**
         * Create a child context with specified credentials
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/Configuration.java

         *
         * @return password used when guest authentication is requested
         */
        String getGuestPassword();
    
        /**
         * Property {@code jcifs.smb.client.guestUsername}, defaults to GUEST
         *
         * @return username used when guest authentication is requested
         */
        String getGuestUsername();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/AuthenticationProvider.java

     * scattered authentication implementations.
     */
    public interface AuthenticationProvider {
    
        /**
         * Authentication type enumeration
         */
        enum AuthType {
            NTLM, KERBEROS, SPNEGO, GUEST, ANONYMOUS
        }
    
        /**
         * Gets the authentication type
         *
         * @return the authentication type
         */
        AuthType getAuthType();
    
        /**
         * Authenticates using the provided context
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

            super(userInfo, tc.getConfig().getDefaultDomain(),
                    tc.getConfig().getDefaultUsername() != null ? tc.getConfig().getDefaultUsername() : "GUEST",
                    tc.getConfig().getDefaultPassword() != null ? tc.getConfig().getDefaultPassword() : "");
            this.context = tc;
        }
    
        /**
         * Create an {@code NtlmPasswordAuthentication} object from a
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

         *
         * @return the primaryDomain
         */
        public final String getPrimaryDomain() {
            return this.primaryDomain;
        }
    
        /**
         * Indicates whether the session was established as a guest.
         *
         * @return the isLoggedInAsGuest
         */
        public final boolean isLoggedInAsGuest() {
            return this.isLoggedInAsGuest;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. 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
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/CIFSContextTest.java

            // Then
            assertEquals(newContext, context);
            verify(mockContext).withAnonymousCredentials();
        }
    
        @Test
        @DisplayName("Should get context with guest credentials")
        void testWithGuestCrendentials() {
            // Given
            CIFSContext newContext = mock(CIFSContext.class);
            when(mockContext.withGuestCrendentials()).thenReturn(newContext);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java

            }
            return redirect(getClass());
        }
    
        /**
         * Returns the user ID for the current session. If the user is authenticated, returns the username;
         * otherwise, returns the guest user code.
         *
         * @return the user ID
         */
        protected String getUserId() {
            final String username = systemHelper.getUsername();
            if (!Constants.GUEST_USER.equals(username)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Mar 10 14:54:51 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                throw sae;
                            } catch (final SmbException se) {
                                ex = se;
                            }
    
                            if (response.isLoggedInAsGuest && !"GUEST".equalsIgnoreCase(auth.username)
                                    && transport.server.security != SmbConstants.SECURITY_SHARE
                                    && auth != NtlmPasswordAuthentication.ANONYMOUS) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
Back to Top