- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for mechContext (0.1 seconds)
-
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(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.5K bytes - Click Count (0)