- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 79 for ANONYMOUS (0.06 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.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; @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
cmd/common-main.go
ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json") // Get quiet flag from command line argument. ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet") // Get anonymous flag from command line argument. ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous") // Fetch address option ctxt.Addr = ctx.GlobalString("address") if ctxt.Addr == "" || ctxt.Addr == ":"+GlobalMinioDefaultPort { ctxt.Addr = ctx.String("address")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K 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) -
buildscripts/test-timeout.sh
echo "server1 log:" cat "${WORK_DIR}/server1.log" echo "FAILED" purge "$WORK_DIR" exit 1 fi set -e "${PWD}/mc" mb minio/testbucket "${PWD}/mc" anonymous set public minio/testbucket # slow header writing send_put_object_request 20 0 && exit -1 "${PWD}/mc" stat minio/testbucket/testobject && exit -1 # quick header write and slow bodywrite
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Dec 02 13:21:17 UTC 2024 - 2.9K bytes - Viewed (0) -
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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
try (SmbSessionImpl treesess = t.getSession()) { if (treesess.getCredentials().isAnonymous() || treesess.getCredentials().isGuest()) { // refresh anonymous session or fallback to anonymous from guest login try (SmbSessionInternal s = trans.getSmbSession(this.ctx.withAnonymousCredentials(), treesess.getTargetHost(), treesess.getTargetDomain())
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0)