Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for searchSessionKey (0.28 sec)

  1. src/test/java/jcifs/smb/Kerb5ContextTest.java

            assertThrows(SmbAuthException.class, () -> ctx.initSecContext(new byte[] {}, 0, 0));
        }
    
        @Test
        @DisplayName("searchSessionKey returns null when Subject has no tickets")
        void searchSessionKey_emptySubject() throws Exception {
            // Arrange GSS context so method can run without NPE
            GSSName src = mock(GSSName.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Context.java

                return this.gssContext.initSecContext(token, off, len);
            } catch (GSSException e) {
                throw new SmbAuthException("GSSAPI mechanism failed", e);
            }
        }
    
        Key searchSessionKey(Subject subject) throws GSSException {
            MIEName src = new MIEName(this.gssContext.getSrcName().export());
            MIEName targ = new MIEName(this.gssContext.getTargName().export());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
Back to top