- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for ANONYMOUS (2.01 sec)
-
src/test/java/jcifs/smb/CredentialsInternalTest.java
private final String domain; private final boolean anonymous; private final boolean guest; private final Subject subject; private final boolean failOnRefresh; TestCredentials(String domain, boolean anonymous, boolean guest, Subject subject, boolean failOnRefresh) { this.domain = domain; this.anonymous = anonymous; this.guest = guest;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
byte[] token = negoResp.getSecurityBlob(); final int securityMode = negoResp.getSecurityMode(); boolean anonymous = this.credentials.isAnonymous(); final boolean doSigning = securityMode != 0 && !anonymous; long newSessId = 0; long curSessId = this.sessionId; synchronized (trans) { this.credentials.refresh();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
void isAnonymous_behaviour() { Kerb5Authenticator anon = new Kerb5Authenticator((Subject) null); assertTrue(anon.isAnonymous(), "Null subject with default super should be anonymous"); Kerb5Authenticator nonAnon = new Kerb5Authenticator(new Subject()); assertFalse(nonAnon.isAnonymous()); } static Object[][] preferredMechData_nonAnonymous() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
assertFalse(notEnforcedRequest.isSigningEnforced(), "Not enforced request should return false"); } @Test @DisplayName("Test anonymous class implementation") void testAnonymousClassImplementation() { // Given SmbNegotiationRequest anonymousRequest = new SmbNegotiationRequest() { @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0)