- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for delegation (0.08 sec)
-
src/test/java/jcifs/spnego/NegTokenInitTest.java
// Set multiple flags init.setContextFlag(NegTokenInit.DELEGATION, true); init.setContextFlag(NegTokenInit.INTEGRITY, true); init.setContextFlag(NegTokenInit.CONFIDENTIALITY, true); int expected = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY | NegTokenInit.CONFIDENTIALITY; assertEquals(expected, init.getContextFlags());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
import org.mockito.Mock; import jcifs.BaseTest; import jcifs.Configuration; import jcifs.DialectVersion; import jcifs.ResolverType; /** * Comprehensive test suite for DelegatingConfiguration class. * Tests the delegation pattern and ensures all methods properly delegate. */ @DisplayName("DelegatingConfiguration Tests") class DelegatingConfigurationTest extends BaseTest { @Mock private Configuration mockDelegate;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
import jcifs.util.Hexdump; /** * SPNEGO initial token */ public class NegTokenInit extends SpnegoToken { /** * Context flag for delegation capability */ public static final int DELEGATION = 0x80; /** * Context flag for mutual authentication requirement */ public static final int MUTUAL_AUTHENTICATION = 0x40; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
// Use a real PrintStream with ByteArrayOutputStream to test delegation ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream realStream = new PrintStream(baos); LogStream logStream = new LogStream(realStream); // Test delegation of various methods logStream.println("test"); logStream.print(42); logStream.print(" ");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertEquals("server.example", session.getTargetHost()); assertTrue(session.isInUse(), "New session starts in-use (usageCount=1)"); // Transport and context delegation assertSame(cifsContext, session.getContext()); clearInvocations(transport); assertSame(transport, session.getTransport()); verify(transport, times(1)).acquire(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacConstants.java
*/ int PRIVSVR_CHECKSUM = 7; /** * Buffer type for client name information. */ int CLIENT_NAME_TYPE = 0xA; /** * Buffer type for constrained delegation information. */ int CONSTRAINT_DELEGATIION_TYPE = 0xB; /** * Buffer type for client user principal name. */ int CLIENT_UPN_TYPE = 0xC; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java
package com.google.common.collect; import java.util.Collection; import org.jspecify.annotations.Nullable; /** * A GWT-only class only used by GWT emulations. It is used to consolidate the definitions of method * delegation to save code size. * * @author Hayward Chan */ final class ForwardingImmutableCollection<E> extends ImmutableCollection<E> { final transient Collection<E> delegate;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
import jcifs.smb.SmbFile; import jcifs.smb.SmbNamedPipe; /** * A wrapper implementation of CIFSContext that delegates to another context. * This class allows for context decoration and customization through delegation. * * @author mbechler */ public class CIFSContextWrapper implements CIFSContext { private final CIFSContext delegate; private Handler wrappedHandler; /**
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/smb/NetServerFileEntryAdapterIteratorTest.java
import jcifs.SmbResourceLocator; import jcifs.context.SingletonContext; /** * Tests for NetServerFileEntryAdapterIterator. * * Intent: Validate iteration behavior, filtering, invalid inputs handling, * and delegation to the underlying iterator. */ @ExtendWith(MockitoExtension.class) class NetServerFileEntryAdapterIteratorTest { @Mock NetServerEnumIterator delegate; @Mock ResourceFilter filter;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertNull(handle.getOEMDomainName()); } @Test @DisplayName("Tree properties delegate: getTreeType/getConnectedShare") void treePropertiesDelegate() { // Validates simple property delegation to the connection when(treeConnection.getTreeType()).thenReturn(7); when(treeConnection.getConnectedShare()).thenReturn("SHARE"); assertEquals(7, handle.getTreeType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)