Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for resolveSids0 (0.06 sec)

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

                return null;
            }).when(cache).resolveSids0(any(), any(), any());
    
            // Resolve first two entries
            cache.resolveSids(ctx, null, arr, 0, 2);
    
            // Verify resolveSids0 called exactly once with the two SIDs needing resolution
            ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class);
            verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SIDCacheImpl.java

                out.acctName = ucstr.toString();
                out.type = resp.sid_type;
                out.origin_server = null;
                out.origin_ctx = null;
            }
        }
    
        void resolveSids0(final String authorityServerName, final CIFSContext tc, final jcifs.SID[] sids) throws CIFSException {
            synchronized (this.sidCache) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                sids[si].acctName = new UnicodeString(rpc.names.names[si].name, false).toString();
                sids[si].origin_server = null;
                sids[si].origin_auth = null;
            }
        }
    
        static void resolveSids0(final String authorityServerName, final NtlmPasswordAuthentication auth, final SID[] sids) throws IOException {
            DcerpcHandle handle = null;
            LsaPolicyHandle policyHandle = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         */
        public boolean isResolveSids() {
            return resolveSids;
        }
    
        /**
         * Sets whether SIDs (Security Identifiers) should be resolved.
         * @param resolveSids true to resolve SIDs, false otherwise
         */
        public void setResolveSids(final boolean resolveSids) {
            this.resolveSids = resolveSids;
        }
    
        /**
         * Returns the character set used for SMB operations.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SidResolverTest.java

        }
    
        // Test resolveSids with array
        @Test
        void testResolveSids_Success() throws CIFSException {
            doNothing().when(sidResolver).resolveSids(any(CIFSContext.class), anyString(), any(SID[].class));
    
            assertDoesNotThrow(() -> sidResolver.resolveSids(mockContext, testServerName, testSids));
    
            verify(sidResolver, times(1)).resolveSids(mockContext, testServerName, testSids);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

         */
        public boolean isResolveSids() {
            return resolveSids;
        }
    
        /**
         * Sets whether SIDs (Security Identifiers) should be resolved.
         *
         * @param resolveSids true to resolve SIDs, false otherwise
         */
        public void setResolveSids(final boolean resolveSids) {
            this.resolveSids = resolveSids;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SIDTest.java

                // Act
                sid.resolve("server.example", mockCtx);
    
                // Assert: resolver.resolveSids called with this SID
                ArgumentCaptor<jcifs.SID[]> captor = ArgumentCaptor.forClass(jcifs.SID[].class);
                verify(mockResolver, times(1)).resolveSids(same(mockCtx), eq("server.example"), captor.capture());
                assertSame(sid, captor.getValue()[0]);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SidResolver.java

         *            methods.
         * @throws CIFSException if there is an error resolving the SIDs
         */
        void resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) throws CIFSException;
    
        /**
         * Resolve part of an array of SIDs using a cache and at most one MSRPC request.
         *
         * @param tc the CIFS context to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

            return new SmbFileOutputStream(this);
        }
    
        private void processAces(final ACE[] aces, final boolean resolveSids) throws IOException {
            final String server = getServerWithDfs();
            int ai;
    
            if (resolveSids) {
                final SID[] sids = new SID[aces.length];
                final String[] names = null;
    
                for (ai = 0; ai < aces.length; ai++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

         *
         * @param resolveSids
         *            Attempt to resolve the SIDs within each ACE form
         *            their numeric representation to their corresponding account names.
         * @return array of ACEs
         * @throws IOException if an I/O error occurs
         */
        ACE[] getSecurity(boolean resolveSids) throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top