- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for CIFSContextWrapper (0.08 sec)
-
src/main/java/jcifs/context/CIFSContextWrapper.java
* * @author mbechler */ public class CIFSContextWrapper implements CIFSContext { private final CIFSContext delegate; private Handler wrappedHandler; /** * Constructs a wrapper around the specified CIFS context. * * @param delegate * context to delegate non-override methods to * */ public CIFSContextWrapper(final CIFSContext delegate) {
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/context/CIFSContextWrapperTest.java
cifsContextWrapper = new CIFSContextWrapper(mockDelegate); } @Test void testConstructor() { // Verify that the delegate is correctly set assertNotNull(cifsContextWrapper); } @Test void testGetSmbResource() throws CIFSException, MalformedURLException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
import jcifs.smb.SmbRenewableCredentials; /** * Context wrapper supplying alternate credentials * * @author mbechler * */ public final class CIFSContextCredentialWrapper extends CIFSContextWrapper implements CIFSContext { private Credentials creds; /** * Constructs a CIFS context wrapper with custom credentials. * * @param delegate the context to wrap * @param creds
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
* allow to create such sub-contexts. * * * Implementors of this interface should extend {@link jcifs.context.BaseContext} or * {@link jcifs.context.CIFSContextWrapper} to get forward compatibility. * * @author mbechler * */ public interface CIFSContext { /** * Get a resource * * @param url the URL of the SMB resource
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/context/CIFSContextCredentialWrapperTest.java
} @Test @DisplayName("Should construct with delegate and credentials") void testConstructor() { // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper) // and the credentials. The delegate is tested implicitly by calling super's methods. // We can directly test getCredentials() to ensure it returns the initial credentials.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
import org.slf4j.LoggerFactory; import jcifs.context.SingletonContext; /** * This class now contains only utilities for config parsing. * * We strongly suggest that you create an explicit {@link jcifs.context.CIFSContextWrapper} * with your desired config. It's base implementation {@link jcifs.context.BaseContext} * should be sufficient for most needs. * * If you want to retain the classic singleton behavior you can use
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (0)