- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for delegation (0.65 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
protected static final String SPNEGO_EXCLUDE_DIRS = "spnego.exclude.dirs"; /** Configuration key for enabling delegation in SPNEGO authentication. */ protected static final String SPNEGO_ALLOW_DELEGATION = "spnego.allow.delegation"; /** Configuration key for allowing localhost authentication bypass. */ protected static final String SPNEGO_ALLOW_LOCALHOST = "spnego.allow.localhost";
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.8K bytes - Viewed (3) -
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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)