Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for violations (0.59 sec)

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            logger.logSecurityViolation("Test violation with stack trace", context);
    
            logger.setIncludeStackTrace(false);
            logger.logSecurityViolation("Test violation without stack trace", context);
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(2), stats.get(EventType.SECURITY_VIOLATION), "Should have 2 security violation events");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import javassist.CtClass
    import javassist.CtMethod
    import javassist.Modifier
    import me.champeau.gradle.japicmp.report.Violation
    
    import static japicmp.model.JApiCompatibilityChangeType.METHOD_REMOVED_IN_SUPERCLASS
    
    class MethodsRemovedInInternalSuperClassRule extends AbstractSuperClassChangesRule {
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                        void method();
                    }
                """
    
            def rule = withContext(new SinceAnnotationRule([:]))
    
            then:
            def violation = rule.maybeViolation(jApiType)
            violation.severity == Severity.error
            violation.humanExplanation =~ 'Is not annotated with @since 11.38'
    
            where:
            apiElement          | jApiTypeName
            'method'            | 'jApiMethod'
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            Map<AccessorKey, UpgradedProperty> currentAccessors = context.getUserData(CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES);
            Map<AccessorKey, ReplacedAccessor> oldRemovedAccessors = context.getUserData(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);
    
            if (violation.getHumanExplanation().startsWith(SINCE_ERROR_MESSAGE)) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
            return null
        }
    
        private static List<Boolean> typeParametersNullabilityOf(CtClass ctClass) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/audit/SecurityAuditLogger.java

            returnContextMap(context);
        }
    
        /**
         * Log a security violation
         *
         * @param violation description of violation
         * @param context additional context
         */
        public void logSecurityViolation(String violation, Map<String, Object> context) {
            String message = "Security violation detected: " + violation;
            logEvent(EventType.SECURITY_VIOLATION, Severity.CRITICAL, message, context);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

            // Cyclic Dependency Error
    
            if (result.hasCircularDependencyExceptions()) {
                throw result.getCircularDependencyException(0);
            }
    
            // Version Range Violation
    
            if (result.hasVersionRangeViolations()) {
                throw result.getVersionRangeViolation(0);
            }
    
            // Transfer Error
    
            if (result.hasErrorArtifactExceptions()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.23.md

      
      The annotation that informs about audit policy violations changed from `pod-security.kubernetes.io/audit` to `pod-security.kubernetes.io/audit-violation`. ([#105908](https://github.com/kubernetes/kubernetes/pull/105908), [@stlaz](https://github.com/stlaz))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  9. compat/maven-model/pom.xml

      <name>Maven Model</name>
      <description>Model for Maven POM (Project Object Model)</description>
    
      <properties>
        <!-- in: ModelMerger -->
        <checkstyle.violation.ignore>FileLength</checkstyle.violation.ignore>
      </properties>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-model</artifactId>
        </dependency>
        <dependency>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            ),
          ).assertLogMatch(
            Regex(
              """callFailed: \S+(?:SSLProtocolException|SSLHandshakeException|TlsFatalAlert): .*(?:Unexpected handshake message: client_hello|Handshake message sequence violation, 1|Read error|Handshake failed|unexpected_message\(10\)).*""",
            ),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top