Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for Unauthorized (0.04 sec)

  1. src/main/config/openapi/openapi-user.yaml

          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        Unauthorized:
          description: Unauthorized request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        NotFound:
          description: Page not found
          content:
            application/json:
              schema:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Full NTLM handshake testing would require more complex mocking
    
            // Arrange - Mock a server that supports NTLM
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")),
                    new ByteArrayInputStream(new byte[0]));
    
            // Act - Trigger handshake
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmServletTest.java

            assertDoesNotThrow(() -> ntlmServlet.init(servletConfig));
        }
    
        /**
         * Test the service method when no Authorization header is present and no session exists.
         * Expects a 401 Unauthorized response with NTLM and Basic authentication challenges.
         * @throws ServletException
         * @throws IOException
         */
        @Test
        void testService_NoAuthHeader_NoSession() throws ServletException, IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      /**
       * Returns the RFC 7235 authorization challenges appropriate for this response's code. If the
       * response code is 401 unauthorized, this returns the "WWW-Authenticate" challenges. If the
       * response code is 407 proxy unauthorized, this returns the "Proxy-Authenticate" challenges.
       * Otherwise this returns an empty list of challenges.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/simple-oauth2.md

    /// info
    
    Der zusätzliche Header `WWW-Authenticate` mit dem Wert `Bearer`, den wir hier zurückgeben, ist ebenfalls Teil der Spezifikation.
    
    Jeder HTTP-(Fehler-)Statuscode 401 „UNAUTHORIZED“ soll auch einen `WWW-Authenticate`-Header zurückgeben.
    
    Im Fall von Bearer-Tokens (in unserem Fall) sollte der Wert dieses Headers `Bearer` lauten.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/security/simple-oauth2.md

    /// info | Información
    
    El header adicional `WWW-Authenticate` con el valor `Bearer` que estamos devolviendo aquí también es parte de la especificación.
    
    Cualquier código de estado HTTP (error) 401 "UNAUTHORIZED" se supone que también debe devolver un header `WWW-Authenticate`.
    
    En el caso de tokens bearer (nuestro caso), el valor de ese header debe ser `Bearer`.
    
    De hecho, puedes omitir ese header extra y aún funcionaría.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            if (!requestManager.findUserBean(FessUserBean.class).map(user -> user.hasRoles(acceptedRoles)).orElse(Boolean.FALSE)) {
                response.sendError(HttpServletResponse.SC_UNAUTHORIZED, "Unauthorized access: " + request.getServletPath());
                return;
            }
    
            try {
                getSessionManager().getAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, String.class).ifPresent(token -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            /** Bad request status indicating client error. */
            BAD_REQUEST(1),
            /** System error status indicating server error. */
            SYSTEM_ERROR(2),
            /** Unauthorized status indicating authentication failure. */
            UNAUTHORIZED(3),
            /** General failure status. */
            FAILED(9);
    
            private final int id;
    
            Status(final int id) {
                this.id = id;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/security/first-steps.md

    Если он не видит заголовка `Authorization` или значение не имеет токена `Bearer`, то в ответ будет выдана ошибка с кодом состояния 401 (`UNAUTHORIZED`).
    
    Для возврата ошибки даже не нужно проверять, существует ли токен. Вы можете быть уверены, что если ваша функция была выполнена, то в этом токене есть `строка`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jan 06 18:26:39 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/security/simple-oauth2.md

    /// info | Дополнительная информация
    Дополнительный заголовок `WWW-Authenticate` со значением `Bearer`, который мы здесь возвращаем, также является частью спецификации.
    
    Ответ сервера с  HTTP-кодом 401 "UNAUTHORIZED" должен также возвращать заголовок `WWW-Authenticate`.
    
    В случае с bearer-токенами (наш случай) значение этого заголовка должно быть `Bearer`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:53:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top