Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for malformed (0.05 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Verify that the XML formatting is correct - no malformed closing tags
                assertFalse(result.contains("</plugin></plugins>"), "Should not have malformed closing tags");
                assertFalse(result.contains("</plugins></pluginManagement>"), "Should not have malformed closing tags");
    
                // Check that proper indentation is maintained
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

                    throw new IOException("Malformed SPNEGO token " + constructed);
                }
    
                final ASN1Sequence vec = (ASN1Sequence) constructed.getBaseObject();
    
                final ASN1ObjectIdentifier spnego = (ASN1ObjectIdentifier) vec.getObjectAt(0);
                if (!SPNEGO_OID.equals(spnego)) {
                    throw new IOException("Malformed SPNEGO token, OID " + spnego);
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        }
    
        @Test
        @DisplayName("byte[] ctor: malformed DER is wrapped as PACDecodingException (IOException path)")
        void byteArrayConstructor_malformedDER_throwsWrapped() {
            // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content)
            byte[] malformed = new byte[] { 0x30, 0x02, 0x01 };
    
            // Act + Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            assertNotNull(cifsContextWrapper.get(url));
        }
    
        @Test
        void testGetSmbResource_MalformedURLException() {
            // Test get(String url) with a malformed URL
            String malformedUrl = "invalid-url";
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.get(malformedUrl);
            });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                if (derToken.getTagClass() != BERTags.APPLICATION) {
                    throw new PACDecodingException("Malformed kerberos ticket");
                }
                stream.close();
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            ASN1Sequence sequence;
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         * @param shareAccess the share access flags for file sharing
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is malformed
         * @throws UnknownHostException if the host cannot be resolved
         */
        public SmbRandomAccessFile(final String url, final String mode, final int shareAccess)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        /**
         * Parses a DCERPC binding string into a DcerpcBinding object
         * @param str the binding string to parse
         * @return the parsed DcerpcBinding object
         * @throws DcerpcException if the binding string is malformed
         */
        protected static DcerpcBinding parseBinding(final String str) throws DcerpcException {
            int state, mark, si;
            final char[] arr = str.toCharArray();
            String proto = null, key = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    All Possible Errors
    - invalid lifecycle phase (maybe same as bad CLI param, though you were talking about embedder too)
    - <module> specified is not found
    - malformed settings
    - malformed POM
    - local repository not writable
    - remote repositories not available
    - artifact metadata missing
    - extension metadata missing
    - extension artifact missing
    - artifact metadata retrieval problem
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            // Test that PACDecodingException is thrown for a malformed token
            byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03 };
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(malformedToken, (byte) 0, keys));
            assertTrue(e.getMessage().startsWith("Malformed kerberos ticket"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

            IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
            assertTrue(ex.getMessage().contains("Malformed token field"), "Error should mention malformed field");
        }
    
        @Test
        @DisplayName("Parse handles MIC in tag [3] and [4] (compatibility)")
        void testParsesMicInTag4Compatibility() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top