Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 99 for malformed (0.05 sec)

  1. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            assertTrue(names.isEmpty() || names.size() >= 0); // Will be empty due to ResourceUtil static method
        }
    
        // Test loadDataStoreNameList with malformed XML
        public void test_loadDataStoreNameList_malformedXml() throws Exception {
            File jarFile = new File(tempDir, "malformed-datastore.jar");
            createTestJarWithXml(jarFile, "This is not valid XML");
    
            DataStoreFactory testFactory = new DataStoreFactory() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         * Creates an input stream for reading from the specified SMB URL
         *
         * @param url the SMB URL to read from
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is malformed
         * @throws UnknownHostException if the server cannot be resolved
         */
        public SmbFileInputStream(final String url) throws SmbException, MalformedURLException, UnknownHostException {
            this(new SmbFile(url));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java

    /**
     * Exception thrown when an invalid access token is encountered.
     * This exception is typically used in authentication and authorization contexts
     * where a provided access token is invalid, expired, or malformed.
     */
    public class InvalidAccessTokenException extends FessSystemException {
    
        /** Serial version UID for serialization */
        private static final long serialVersionUID = 1L;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser_test.go

    		{
    			inputCredentialStr:  "Cred=",
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrMissingCredTag,
    		},
    		// Test Case - 3.
    		// Test case with malformed credentials.
    		{
    			inputCredentialStr:  "Credential=abc",
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrCredMalformed,
    		},
    		// Test Case - 4.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

    package jcifs.internal;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when errors occur during SMB protocol message decoding.
     * Indicates that an SMB message could not be properly parsed or decoded due to
     * malformed data, protocol violations, or unsupported message formats.
     *
     * @author mbechler
     */
    public class SMBProtocolDecodingException extends CIFSException {
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top