Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getSecurity (0.43 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.getSecurity()).thenReturn(expectedACEs);
                when(mockResource.getSecurity(true)).thenReturn(expectedACEs);
                when(mockResource.getShareSecurity(false)).thenReturn(expectedACEs);
    
                // When
                ACE[] security1 = mockResource.getSecurity();
                ACE[] security2 = mockResource.getSecurity(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
            assertNull(result2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

         *
         * @return an array of ACE objects representing the share's security descriptor
         * @throws IOException if there is an error retrieving the security information
         */
        public ACE[] getSecurity() throws IOException {
            final srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) info;
            if (info502.security_descriptor != null) {
                SecurityDescriptor sd;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

         *
         * @return an array of ACE objects representing the share's security descriptor
         * @throws IOException if there is an error retrieving the security information
         */
        public ACE[] getSecurity() throws IOException {
            final srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) this.info;
            if (info502.security_descriptor != null) {
                SecurityDescriptor sd;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

         * <code>S-X-Y-Z</code> strings of fragments of).
         * <p>
         * Alternatively <code>getSecurity(true)</code> may be used to resolve all
         * SIDs together and detect network failures.
         *
         * @return array of ACEs
         * @throws IOException if an I/O error occurs
         */
        ACE[] getSecurity() throws IOException;
    
        /**
         * Return an array of Access Control Entry (ACE) objects representing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * <p>
         * Alternatively {@code getSecurity(true)} may be used to resolve all
         * SIDs together and detect network failures.
         */
        /**
         * Returns the security information for this file
         *
         * @return an array of ACE entries for this file
         * @throws IOException if an I/O error occurs
         */
        public ACE[] getSecurity() throws IOException {
            return getSecurity(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                return response.getSecurityDescriptor();
            }
        }
    
        @Override
        public ACE[] getSecurity() throws IOException {
            return getSecurity(false);
        }
    
        @Override
        public ACE[] getSecurity(final boolean resolveSids) throws IOException {
            try (SmbTreeHandleImpl th = ensureTreeConnected()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. docs/works_with_okhttp.md

     * [Cronet Transport for OkHttp](https://github.com/google/cronet-transport-for-okhttp): A HTTP3 ready transport layer for OkHttp on Android, based on Chromium network stack.
     * [CWAC-NetSecurity](https://github.com/commonsguy/cwac-netsecurity): Simplifying Secure Internet Access.
     * [Failsafe](https://failsafe.dev/okhttp/): Fault tolerance and resilience patterns.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top