- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for malformed (0.05 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
// Test version patterns with different separators String[] args = new String[] { "11:-Dprop=value:with:colons", "8-:-Xbootclasspath/a:/path/to/jar", "malformed11:-invalid", // Should not match pattern "11-malformed:-invalid" // Should not match pattern }; String[] result = JvmUtil.filterJvmOptions(args);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)