- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 33 for ANONYMOUS (0.13 seconds)
-
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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (1) -
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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt
* limitations under the License. */ package gradlebuild.binarycompatibility import org.junit.Test class AnonymousClassesFilteringTest : AbstractBinaryCompatibilityTest() { @Test fun `anonymous classes are excluded (java)`() { checkBinaryCompatibleJava( v1 = """ public class Source { public void some() {} } """,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.8K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (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 *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
level = DeprecationLevel.ERROR, ) fun peerCertificates(): List<Certificate> = peerCertificates /** Returns the remote peer's principle, or null if that peer is anonymous. */ @get:JvmName("peerPrincipal") val peerPrincipal: Principal? get() = (peerCertificates.firstOrNull() as? X509Certificate)?.subjectX500Principal @JvmName("-deprecated_peerPrincipal") @Deprecated(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.6K bytes - Click Count (1) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/AnonymousClassesFilter.groovy
* limitations under the License. */ package gradlebuild.binarycompatibility.filters import japicmp.filter.ClassFilter import javassist.CtClass import java.util.regex.Pattern /** * Matches JVM anonymous classes. */ class AnonymousClassesFilter implements ClassFilter { private static final Pattern PATTERN = Pattern.compile('.*\\$[0-9]+$') @Override boolean matches(CtClass ctClass) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1K bytes - Click Count (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; @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0)