Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for resolveSids (0.24 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  3. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SIDCacheImpl.java

        /**
         * Constructs a SID cache implementation.
         *
         * @param baseContext the CIFS context for this cache
         */
        public SIDCacheImpl(final CIFSContext baseContext) {
        }
    
        void resolveSids(final DcerpcHandle handle, final LsaPolicyHandle policyHandle, final jcifs.SID[] sids) throws IOException {
            final MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids);
            handle.sendrecv(rpc);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            } catch (final SmbException se) {}
        }
    
        static Map sid_cache = new HashMap();
    
        static void resolveSids(final DcerpcHandle handle, final LsaPolicyHandle policyHandle, final SID[] sids) throws IOException {
            final MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids);
            handle.sendrecv(rpc);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

            return new SmbRandomAccessFile(this, mode, sharing, false);
        }
    
        private void processAces(final ACE[] aces, final boolean resolveSids) throws IOException {
            String server = this.fileLocator.getServerWithDfs();
            int ai;
    
            if (resolveSids) {
                if (this.fileLocator.getDfsPath() == null && this.fileLocator.getPort() != -1) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SIDTest.java

            String server = "myserver";
            sid.resolve(server, mockContext);
    
            ArgumentCaptor<jcifs.SID[]> sidArrayCaptor = ArgumentCaptor.forClass(jcifs.SID[].class);
            verify(mockResolver).resolveSids(eq(mockContext), eq(server), sidArrayCaptor.capture());
            assertEquals(1, sidArrayCaptor.getValue().length);
            assertEquals(sid, sidArrayCaptor.getValue()[0]);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top