Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for doUpgrade (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

        @Inject
        public AbstractUpgradeGoal(StrategyOrchestrator orchestrator) {
            this.orchestrator = orchestrator;
        }
    
        /**
         * Executes the upgrade goal.
         * Template method that calls doUpgrade and optionally saves modifications.
         */
        @Override
        public int execute(UpgradeContext context) throws Exception {
            UpgradeOptions options = context.options();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            public int testExecuteWithTargetModel(UpgradeContext context, String targetModel) {
                try {
                    Map<Path, Document> pomMap = Map.of(); // Empty for this test
                    return doUpgrade(context, targetModel, pomMap);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            // Helper method from AbstractUpgradeStrategy
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

         */
        static Stream<Arguments> messages() {
            return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade"));
        }
    
        @Test
        @DisplayName("Default ctor: null message/cause; toString is class name; type hierarchy")
        void defaultConstructor_hasNullMessageAndCause_andTypeHierarchy() {
            // Arrange & Act
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SMBProtocolDowngradeException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when an SMB protocol downgrade attack is detected.
     * Indicates that the negotiated protocol version is lower than expected or required.
     *
     * @author mbechler
     *
     */
    public class SMBProtocolDowngradeException extends CIFSException {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/PreauthIntegrityService.java

    import jcifs.internal.smb2.nego.PreauthIntegrityNegotiateContext;
    
    /**
     * Enhanced Pre-Authentication Integrity Service for SMB 3.1.1.
     *
     * Provides comprehensive pre-authentication integrity protection against
     * downgrade attacks by maintaining cryptographic hash chains of all
     * negotiation and session setup messages.
     */
    public class PreauthIntegrityService {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt

        }
      }
    
      companion object {
        /**
         * The cipher suite used during TLS connection fallback to indicate a fallback. See
         * https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00
         */
        const val TLS_FALLBACK_SCSV = "TLS_FALLBACK_SCSV"
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. README.md

    - **Encryption Context**: Per-session encryption state management
    - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters
    - **Pre-Authentication Integrity**: SMB 3.1.1 PAI for preventing downgrade attacks
    - **Automatic Detection**: Encryption automatically enabled when servers require it
    - **Secure Key Management**: Proper key derivation and nonce generation
    
    ### Core Features
    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)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                assertEquals("package", packageExecution.child("phase").orElse(null).textContent());
            }
        }
    
        @Nested
        @DisplayName("Downgrade Handling")
        class DowngradeHandlingTests {
    
            @Test
            @DisplayName("should fail with error when attempting downgrade from 4.1.0 to 4.0.0")
            void shouldFailWhenAttemptingDowngrade() throws Exception {
                String pomXml = """
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Pre-authentication Integrity Negotiate Context.
     *
     * This negotiate context is used in SMB 3.1.1 to establish
     * pre-authentication integrity protection against downgrade attacks.
     *
     * @author mbechler
     */
    public class PreauthIntegrityNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
        /**
         * Context type
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. internal/config/browser/browser.go

    	cfg.HSTSPreload = hstsPreload
    
    	referrerPolicy := env.Get(EnvBrowserReferrerPolicy, kvs.GetWithDefault(browserReferrerPolicy, DefaultKVS))
    	switch referrerPolicy {
    	case "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url":
    		cfg.ReferrerPolicy = referrerPolicy
    	default:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 21 00:58:58 GMT 2024
    - 5.9K bytes
    - Click Count (0)
Back to Top