Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isLoggedInAsGuest (0.37 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/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)
Back to top