Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 490 for Basic2 (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     *
     * ```java
     * if (response.request().header("Authorization") != null) {
     *   return null; // Give up, we've already failed to authenticate.
     * }
     *
     * String credential = Credentials.basic(...)
     * return response.request().newBuilder()
     *     .header("Authorization", credential)
     *     .build();
     * ```
     *
     * When reactive authentication is requested by a proxy server, the response code is 407 and the
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

    import jcifs.config.BaseConfiguration;
    
    /**
     * Basic tests for MultiChannelManager to verify the createChannelTransport implementation.
     */
    public class MultiChannelManagerBasicTest {
    
        private MultiChannelManager multiChannelManager;
        private Configuration config;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a basic configuration for testing
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.kotlin.dsl.*
    import org.jetbrains.kotlin.config.ApiVersion
    import org.jetbrains.kotlin.config.CommonConfigurationKeys
    import org.jetbrains.kotlin.config.CompilerConfiguration
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 12:31:49 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. README.md

    - **Streaming Operations**: Efficient directory listings and file operations
    - **Buffer Caching**: Optimized buffer management
    - **DCE/RPC Protocol**: Support for advanced operations
    
    ## Quick Start
    
    ### Basic Usage
    
    ```java
    import jcifs.CIFSContext;
    import jcifs.context.SingletonContext;
    import jcifs.smb.SmbFile;
    
    // Using default context
    CIFSContext context = SingletonContext.getInstance();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, 'A', 'Z') {
              @Override
              protected char[] escapeUnsafe(char c) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/http/NetworkExplorer.java

        private String style;
        /** Flag indicating if credentials were supplied */
        private boolean credentialsSupplied;
        /** Flag to enable basic authentication */
        private boolean enableBasic;
        /** Flag to allow insecure basic authentication */
        private boolean insecureBasic;
        /** The authentication realm */
        private String realm;
        /** The default domain for authentication */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/http/NetworkExplorerTest.java

        }
    
        /**
         * Test Basic authentication when enabled
         */
        @Test
        void testDoGet_BasicAuth() throws Exception {
            // Initialize with Basic auth enabled
            initializeNetworkExplorer(true, "TestRealm");
    
            // Test with no auth - should request Basic
            when(request.getHeader("Authorization")).thenReturn(null);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  8. build-logic/idea/src/main/kotlin/gradlebuild.ide.gradle.kts

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.repoRoot
    import org.gradle.plugins.ide.idea.model.IdeaProject
    import org.jetbrains.gradle.ext.CopyrightConfiguration
    import org.jetbrains.gradle.ext.ProjectSettings
    import org.jetbrains.gradle.ext.Remote
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jan 30 10:41:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/PackageSanityTests.java

     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Basic sanity tests for classes in {@code common.base}. */
    
    @GwtIncompatible
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          MockResponse(
            code = 401,
            headers = headersOf("WWW-Authenticate", "Basic realm=\"protected area\""),
          ),
        )
        server.enqueue(
          MockResponse(body = "c"),
        )
        val authenticator =
          RecordingOkAuthenticator(
            basic("jesse", "peanutbutter"),
            "Basic",
          )
        client =
          client
            .newBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
Back to Top