Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for Unauthorized (0.24 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultUnauthorizedDirectoryWalkerTest.groovy

        def rootDir
    
        def setup() {
            rootDir = tmpDir.createDir('root')
            rootDir.createFile('unauthorized/file')
            rootDir.createDir('authorized')
            rootDir.file('unauthorized').mode = 0000
        }
    
        def cleanup() {
            rootDir.file('unauthorized').mode = 0777
        }
    
        def "excluded files' permissions should be ignored"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. api/openapi-spec/v3/logs_openapi.json

            "responses": {
              "401": {
                "description": "Unauthorized"
              }
            },
            "tags": [
              "logs"
            ]
          }
        },
        "/logs/{logpath}": {
          "get": {
            "operationId": "logFileHandler",
            "responses": {
              "401": {
                "description": "Unauthorized"
              }
            },
            "tags": [
              "logs"
            ]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 30 00:49:56 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/credentials-handling/publishing-credentials/common/maven-repository-stub/src/main/java/com/example/MavenRepositoryStub.java

    import static com.github.tomakehurst.wiremock.client.WireMock.ok;
    import static com.github.tomakehurst.wiremock.client.WireMock.put;
    import static com.github.tomakehurst.wiremock.client.WireMock.unauthorized;
    import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
    
    public class MavenRepositoryStub {
    
        // tag::credentials[]
        private static final String USERNAME = "secret-user";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

        val response =
          Response.Builder()
            .request(request)
            .code(401)
            .header("WWW-Authenticate", "Basic realm=\"User Visible Realm\"")
            .protocol(HTTP_2)
            .message("Unauthorized")
            .build()
        val authRequest = authenticator.authenticate(route, response)
    
        assertEquals(
          "Basic ${RecordingAuthenticator.BASE_64_CREDENTIALS}",
          authRequest!!.header("Authorization"),
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/openid__v1__jwks_openapi.json

                    "schema": {
                      "type": "string"
                    }
                  }
                },
                "description": "OK"
              },
              "401": {
                "description": "Unauthorized"
              }
            },
            "tags": [
              "openid"
            ]
          }
        }
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 30 00:49:56 UTC 2022
    - 972 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit_test.go

    		t.Fatalf("Unexpected number of audit events generated, expected 1, got: %d", len(sink.events))
    	}
    	ev := sink.events[0]
    	if ev.ResponseStatus.Code != http.StatusUnauthorized {
    		t.Errorf("Unexpected response code, expected unauthorized, got %d", ev.ResponseStatus.Code)
    	}
    	if !strings.Contains(ev.ResponseStatus.Message, "basic") {
    		t.Errorf("Expected response status message to contain basic auth method, got %s", ev.ResponseStatus.Message)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 12 21:42:41 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/.well-known__openid-configuration_openapi.json

                    "schema": {
                      "type": "string"
                    }
                  }
                },
                "description": "OK"
              },
              "401": {
                "description": "Unauthorized"
              }
            },
            "tags": [
              "WellKnown"
            ]
          }
        }
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 30 00:49:56 UTC 2022
    - 987 bytes
    - Viewed (0)
  8. api/openapi-spec/v3/version_openapi.json

                    }
                  }
                },
                "description": "OK"
              },
              "401": {
                "description": "Unauthorized"
              }
            },
            "tags": [
              "version"
            ]
          }
        }
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 30 00:49:56 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) {
            if (cause instanceof LoginUnauthorizedException) {
                return asJson(createFailureBean(Status.UNAUTHORIZED, "Unauthorized request.")).httpStatus(HTTP_UNAUTHORIZED);
            }
            return asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, cause))).httpStatus(HTTP_BAD_REQUEST);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication.go

    			w.Header().Set("Connection", "close")
    		}
    
    		req = req.WithContext(genericapirequest.WithUser(req.Context(), resp.User))
    		handler.ServeHTTP(w, req)
    	})
    }
    
    func Unauthorized(s runtime.NegotiatedSerializer) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		// http2 is an expensive protocol that is prone to abuse,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top