- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for isCredentialTypeCorrect (0.56 seconds)
-
src/test/java/jcifs/pac/PacCredentialTypeTest.java
assertTrue(pacCredentialType.isCredentialTypeCorrect()); } /** * Tests the isCredentialTypeCorrect method with a null byte array. * This test is indirect as the constructor would throw an exception. * We can't instantiate the class with null, so we can't directly test this method's behavior with null. * However, the constructor logic `!isCredentialTypeCorrect()` covers this.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacCredentialType.java
this.credentialType = data; if (!isCredentialTypeCorrect()) { throw new PACDecodingException("Invalid PAC credential type"); } } /** * Validates whether the credential type data is correct. * @return true if the credential type is valid, false otherwise */ public boolean isCredentialTypeCorrect() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0)