- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 73 for guess (0.34 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/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/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) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)