Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for keystores (0.52 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            then:
            configurationCache.assertStateLoaded()
    
            where:
            encryptionTransformation | source
            "AES/ECB/PKCS5PADDING"   | EncryptionKind.KEYSTORE
            "AES/CBC/PKCS5PADDING"   | EncryptionKind.KEYSTORE
            "AES/ECB/PKCS5PADDING"   | EncryptionKind.ENV_VAR
            "AES/CBC/PKCS5PADDING"   | EncryptionKind.ENV_VAR
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

    ) : SecretKeySource {
    
        private
        val keyProtection = KeyStore.PasswordProtection(CharArray(0))
    
        private
        val keyStore by lazy {
            KeyStore.getInstance(KEYSTORE_TYPE)
        }
    
        override val sourceDescription: String
            get() = customKeyStoreDir?.let { "custom Java keystore at $it" }
                ?: "default Gradle configuration cache keystore"
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy

        TestKeyStore keyStore
    
        def setup() {
            keyStore = TestKeyStore.init(resources.dir)
            // We need to set the SSL properties as arguments here even for non-embedded test mode
            // because we want them to be set on the wrapper client JVM, not the daemon one
            wrapperExecuter.withArguments(keyStore.getTrustStoreArguments())
            server.configure(keyStore)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/AbstractWrapperIntegrationSpec.groovy

        void prepareWrapper(URI distributionUri = distribution.binDistribution.toURI(), TestKeyStore keyStore) {
            def executer = new InProcessGradleExecuter(distribution, temporaryFolder)
            executer.withArguments(
                "wrapper",
                "--gradle-distribution-url",
                distributionUri.toString(),
            )
            keyStore.trustStoreArguments.each {
                executer.withArgument(it)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    class ConfigurationCacheJavaSerializationIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "restores task fields whose value is Serializable and has writeReplace method"() {
            buildFile << """
                class Placeholder implements Serializable {
                    String value
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

    import javax.inject.Inject
    import java.nio.charset.Charset
    import java.util.logging.Level
    
    class ConfigurationCacheSupportedTypesIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "restores task fields whose value is instance of #type"() {
            buildFile << """
                import java.util.concurrent.*
    
                class SomeBean {
                    ${type} value
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

    class ConfigurationCacheLambdaIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def fixture = new ConfigurationCacheFixture(this)
    
        def "restores task fields whose value is a #kind Java lambda"() {
            given:
            file("buildSrc/src/main/java/my/LambdaTask.java").tap {
                parentFile.mkdirs()
                text = """
                    package my;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

            expect: 'convention mapping is ignored'
            configurationCacheRun 'myTask'
    
            and: 'convention mapping is ignored just the same'
            configurationCacheRun 'myTask'
        }
    
        def "restores convention mapped task input property explicitly set to null"() {
            given:
            withConventionMappingForPropertyOfType String, '"42"'
            buildFile << '''
                tasks.named("ok") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                totalProblemsCount = 1
                problemsWithStackTraceCount = 0
            }
        }
    
        def "restores task fields whose value is an object graph with cycles"() {
            buildFile << """
                class SomeBean {
                    String value
                    SomeBean parent
                    SomeBean child
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/StandardOutputRedirector.java

         * {@link #redirectStandardErrorTo(OutputListener)} and
         * {@link #redirectStandardOutputTo(OutputListener)
         */
        void start();
    
        /**
         * Restores System.out and System.err to the values they had before {@link #start()} has been called.
         */
        void stop();
    
        void redirectStandardOutputTo(OutputListener stdOutDestination);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top