Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for ACCESS_DENIED (0.07 seconds)

  1. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

                    localLogMsg.get());
    
            activityHelper.accessDenied(createUser("testuser", new String[0]), "/admin/user/");
            assertEquals(
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            initialContext.put("host", "server.example.com");
            initialContext.put("port", 445);
    
            exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Permission denied", null,
                    SmbOperationException.RetryPolicy.DEFAULT, initialContext);
    
            // When
            exception.withContext("path", "/share/file.txt").withContext("user", "testuser");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            assertArrayEquals(blob, resp.getBlob());
            assertEquals(0, resp.getSessionFlags());
            assertFalse(resp.isLoggedInAsGuest());
        }
    
        @Test
        @DisplayName("Decode with ACCESS_DENIED should treat as error response")
        void testDecodeErrorResponsePath() throws Exception {
            Smb2SessionSetupResponse resp = newResponse();
    
            byte[] buf = new byte[256];
            int headerStart = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

         */
        public void accessDenied(final OptionalThing<FessUserBean> user, final String path) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
            valueMap.put("action", Action.ACCESS_DENIED.name());
            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            valueMap.put("path", path);
            log(valueMap);
        }
    
        /**
         * Print the log.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbOperationException.java

                            true), HOST_NOT_FOUND("Host not found", ErrorCategory.NETWORK, false),
    
            // Authentication errors
            AUTHENTICATION_FAILED("Authentication failed", ErrorCategory.AUTHENTICATION, false), ACCESS_DENIED("Access denied",
                    ErrorCategory.AUTHENTICATION, false), INVALID_CREDENTIALS("Invalid credentials", ErrorCategory.AUTHENTICATION,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        @Override
        public void setPath(String path) {
            if (path.length() > 0 && path.charAt(0) == '\\') {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if (path.length() > 1 && path.charAt(path.length() - 1) == '\\') {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
Back to Top