Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isLoggedInAsGuest (0.46 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

            return this.primaryDomain;
        }
    
        /**
         * Indicates whether the session was established as a guest.
         *
         * @return the isLoggedInAsGuest
         */
        public final boolean isLoggedInAsGuest() {
            return this.isLoggedInAsGuest;
        }
    
        /**
         * Returns the security blob received from the server during extended security negotiation.
         *
         * @return the blob
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("SmbComSessionSetupAndXResponse[" + super.toString() + ",isLoggedInAsGuest=" + isLoggedInAsGuest + ",nativeOs=" + nativeOs
                    + ",nativeLanMan=" + nativeLanMan + ",primaryDomain=" + primaryDomain + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            assertArrayEquals(blob, resp.getBlob(), "Security blob should match");
            assertEquals(sessionFlags, resp.getSessionFlags(), "Session flags should decode");
            assertTrue(resp.isLoggedInAsGuest(), "Guest/anonymous should be detected");
    
            // prepare should propagate session id when received
            CIFSContext mockCtx = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                    if (!this.getConfig().isAllowGuestFallback() && response.isLoggedInAsGuest()
                            && (!this.credentials.isGuest() && !this.credentials.isAnonymous())) {
                        throw new SmbAuthException(NtStatus.NT_STATUS_LOGON_FAILURE);
                    }
                    if (!this.credentials.isAnonymous() && response.isLoggedInAsGuest()) {
                        anonymous = true;
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

        }
    
        /**
         * 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;
        }
    
        /**
         * Gets the session flags from the response
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  6. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top