- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 66 for guess (0.03 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertFalse(auth1.isGuest()); assertFalse(auth1.isAnonymous()); // Test guest type with char array char[] guestPassword = "GuestPass123!".toCharArray(); NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("DOMAIN", "guest", guestPassword, NtlmPasswordAuthenticator.AuthenticationType.GUEST); assertTrue(auth2.isGuest()); assertFalse(auth2.isAnonymous());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/resources/fess_indices/fess_user.role/role.bulk
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 144 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
bufferIndex += securityBufferLength; return bufferIndex - start; } /** * 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; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1) -
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); when(mockCtx.getConfig()).thenReturn(mock(Configuration.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) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
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 *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
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(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 3.9K bytes - Viewed (0) -
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; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0)