- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isCredentialTypeCorrect (0.38 sec)
-
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.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (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() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0)