- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for ANONYMOUS (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
} // Test ANONYMOUS constant @Test void testAnonymousConstant() { assertNotNull(NtlmPasswordAuthentication.ANONYMOUS); assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getDomain()); assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getUsername()); assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getPassword()); }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/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) -
cmd/server-startup-msg.go
// Colorize the message and print. logger.Startup(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr))) if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) { logger.Startup(color.Blue(" RootUser: ") + color.Bold("%s ", cred.AccessKey)) logger.Startup(color.Blue(" RootPass: ") + color.Bold("%s \n", cred.SecretKey))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
assertTrue(npe2.getMessage().contains("non-null")); verifyNoInteractions(mockDir); } /** * Sanity: implementing via an anonymous class works the same as a lambda. */ @Test @DisplayName("anonymous class implementation behaves correctly") void anonymousClassImplementation() throws Exception { SmbFilenameFilter filter = new SmbFilenameFilter() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/Credentials.java
/** * Get the domain of the user account. * @return the domain the user account is in */ String getUserDomain(); /** * Check if these are anonymous credentials. * @return whether these are anonymous credentials */ boolean isAnonymous(); /** * Check if these are guest credentials. * @return whether these are guest credentials */ boolean isGuest();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
* * @return a child context using the configured default credentials */ CIFSContext withDefaultCredentials(); /** * Create a child context with anonymous credentials * * @return a child context using anonymous credentials */ CIFSContext withAnonymousCredentials(); /** * Create a child context with guest 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/smb1/smb1/SmbComSessionSetupAndXTest.java
assertEquals(mockAuth, setupAndX.cred); } @Test void testConstructorWithAnonymousAuth() throws Exception { // Test with anonymous authentication SmbComSessionSetupAndX anonSetup = new SmbComSessionSetupAndX(mockSession, mockAndx, NtlmPasswordAuthentication.ANONYMOUS); assertNotNull(anonSetup); assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, anonSetup.command); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/MessageTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; class MessageTest { private Message message; @BeforeEach void setUp() { // Create an anonymous implementation of the Message interface for testing message = new Message() { private boolean retainPayload = false; private byte[] rawPayload; @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/CredentialsTest.java
String result = mockCredentials.getUserDomain(); // Then assertEquals(domain, result); verify(mockCredentials).getUserDomain(); } @Test @DisplayName("Should check for anonymous credentials") void testIsAnonymous() { // Given when(mockCredentials.isAnonymous()).thenReturn(true); // When boolean isAnonymous = mockCredentials.isAnonymous();
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/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)