Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Disposal (0.04 sec)

  1. src/main/java/jcifs/smb/SSPContext.java

         */
        String getNetbiosName();
    
        /**
         * Disposes of the security context and releases any associated resources.
         * @throws CIFSException if an error occurs during disposal
         */
        void dispose() throws CIFSException;
    
        /**
         * Checks whether the specified security mechanism is supported.
         * @param mechanism the security mechanism OID to check
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Context.java

            if (this.gssContext != null) {
                try {
                    this.gssContext.dispose();
                } catch (GSSException e) {
                    throw new SmbException("Context disposal failed", e);
                }
            }
        }
    
        /*
         * Prepare reflective access to ExtendedGSSContext. The reflective access
         * abstracts the access so far, that Oracle JDK, Open JDK and IBM JDK are
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb/Kerb5ContextTest.java

                doThrow(new GSSException(GSSException.FAILURE)).when(gssContext).dispose();
                SmbException ex = assertThrows(SmbException.class, () -> ctx.dispose());
                assertTrue(ex.getMessage().contains("Context disposal failed"));
            }
    
            @Test
            @DisplayName("dispose with null context is no-op")
            void dispose_nullContext_noop() throws Exception {
                setPrivateField(ctx, "gssContext", null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top