Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 805 for accesses (0.04 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            String server = "testServer";
            int access = 123;
    
            doThrow(new IOException("Network error")).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act & Assert
            IOException thrown = assertThrows(IOException.class, () -> {
                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
            assertEquals("Network error", thrown.getMessage());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_cors/test_tutorial001.py

        headers = {
            "Origin": "https://localhost.tiangolo.com",
            "Access-Control-Request-Method": "GET",
            "Access-Control-Request-Headers": "X-Example",
        }
        response = client.options("/", headers=headers)
        assert response.status_code == 200, response.text
        assert response.text == "OK"
        assert (
            response.headers["access-control-allow-origin"]
            == "https://localhost.tiangolo.com"
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Realm accessors
            assertNull(auth.getRealm());
            auth.setRealm("EXAMPLE.COM");
            assertEquals("EXAMPLE.COM", auth.getRealm());
    
            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
            // Lifetime accessors (edge: zero/negative)
            auth.setUserLifeTime(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

        /**
         * Indicates whether network access to remote repositories has been disabled.
         *
         * @return {@code true} if remote access has been disabled, {@code false} otherwise.
         */
        @Override
        boolean isOffline();
    
        /**
         * Enables/disables network access to remote repositories.
         *
         * @param offline {@code true} to disable remote access, {@code false} to allow network access.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                    return field.get(this);
                } catch (Exception e) {
                    throw new RuntimeException("Failed to get field " + fieldName, e);
                }
            }
    
            // Accessors for protected state
            int getTotalParameterCount() {
                return totalParameterCount;
            }
    
            int getTotalDataCount() {
                return totalDataCount;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

         * Constructs an LSA policy handle.
         *
         * @param handle the DCERPC handle
         * @param server the server name
         * @param access the access rights
         * @throws IOException if an I/O error occurs
         */
        public LsaPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException {
            this.handle = handle;
            if (server == null) {
                server = "\\\\";
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

        @Size(max = 10000)
        public String token;
    
        /**
         * The permissions associated with this access token.
         * Defines what operations and resources this token can access.
         */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String permissions;
    
        /**
         * The parameter name for the access token.
         * This field specifies how the token should be passed in API requests.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

         * @throws FessSystemException if no access token is available
         */
        public String getServerPath() {
            return getSessionManager().getAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, String.class)
                    .map(token -> ADMIN_SERVER + token)
                    .orElseThrow(() -> new FessSystemException("Cannot create an access token."));
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

        /**
         * Generate the access token.
         * @return The access token.
         */
        public String generateAccessToken() {
            return RandomStringUtils.random(ComponentUtil.getFessConfig().getApiAccessTokenLengthAsInteger(), 0, 0, true, true, null, random);
        }
    
        /**
         * Get the access token from the request.
         * @param request The request.
         * @return The access token.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

        }
    
        /**
         * Pre-processes API requests by checking access authorization before executing the action.
         * If access is not allowed, returns an unauthorized error response.
         *
         * @param runtime the action runtime context containing request information
         * @return ActionResponse with unauthorized error if access denied, otherwise delegates to parent
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top