- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mechContext (0.04 sec)
-
src/test/java/jcifs/smb/SpnegoContextTest.java
verify(this.mechContext, times(1)).getSigningKey(); } @Test @DisplayName("supportsIntegrity delegates to underlying mechanism context") void testSupportsIntegrityDelegates() { SpnegoContext ctx = newContext(); when(this.mechContext.supportsIntegrity()).thenReturn(true); assertTrue(ctx.supportsIntegrity()); verify(this.mechContext, times(1)).supportsIntegrity(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
if ((mechanismListMIC == null || !this.mechContext.supportsIntegrity()) && this.requireMic && !this.mechContext.isPreferredMech(this.selectedMech)) { throw new CIFSException("SPNEGO integrity is required but not available"); } // otherwise we ignore the absence of a MIC if (!this.mechContext.isMICAvailable() || mechanismListMIC == null) { return;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0)