- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for GUEST (0.78 sec)
-
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/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/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/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) -
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
*/ @Override public CIFSContext withGuestCrendentials() { return withCredentials(new NtlmPasswordAuthenticator(null, null, (String) null, AuthenticationType.GUEST)); } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getCredentials() */ @Override public Credentials getCredentials() { return getDefaultCredentials(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0) -
README.md
# Connection settings jcifs.smb.client.connTimeout=35000 jcifs.smb.client.soTimeout=180000 jcifs.smb.client.responseTimeout=30000 # Authentication jcifs.smb.client.domain=WORKGROUP jcifs.smb.client.username=guest jcifs.smb.client.password= # Protocol versions (SMB1 to SMB 3.1.1) jcifs.smb.client.minVersion=SMB1 jcifs.smb.client.maxVersion=SMB311 # Security jcifs.smb.client.signingPreferred=false
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0)