- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 227 for userTime (0.29 sec)
-
cmd/sftp-server_test.go
return []byte{} } func (m *MockConnMeta) RemoteAddr() net.Addr { return nil } func (m *MockConnMeta) LocalAddr() net.Addr { return nil } func newSSHConnMock(username string) ssh.ConnMetadata { return &MockConnMeta{username: username} } func TestSFTPAuthentication(t *testing.T) { for i, testCase := range iamTestSuites { t.Run( fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 8K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
return errors.New("format value unrecognized") } } if a.Index == "" { return errors.New("empty index value") } if (a.Username == "" && a.Password != "") || (a.Username != "" && a.Password == "") { return errors.New("username and password should be set in pairs") } return nil } // ElasticsearchTarget - Elasticsearch target. type ElasticsearchTarget struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15K bytes - Viewed (0) -
docs/zh/docs/advanced/security/http-basic-auth.md
`secrets.compare_digest()` 需要仅包含 ASCII 字符(英语字符)的 `bytes` 或 `str`,这意味着它不适用于像`á`一样的字符,如 `Sebastián`。 为了解决这个问题,我们首先将 `username` 和 `password` 转换为使用 UTF-8 编码的 `bytes` 。 然后我们可以使用 `secrets.compare_digest()` 来确保 `credentials.username` 是 `"stanleyjobson"`,且 `credentials.password` 是`"swordfish"`。 === "Python 3.9+" ```Python hl_lines="1 12-24"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun May 05 21:32:54 UTC 2024 - 5.3K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} const contextName = "istio-cni-context" const clusterName = "local" const userName = "istio-cni" kcfg := &api.Config{ Kind: "Config", APIVersion: "v1", Preferences: api.Preferences{}, Clusters: map[string]*api.Cluster{ clusterName: cluster, }, AuthInfos: map[string]*api.AuthInfo{ userName: { Token: string(token), }, }, Contexts: map[string]*api.Context{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputs.kt
isCaseSensitive = fileSystem.isCaseSensitive, rootDirectory = configurationCacheStartParameter.rootDirectory ) private val userHome = File(System.getProperty("user.home")) private val jointRegex: Regex? = maybeCreateJointRegexForPatterns(ignoredPathsString, isCaseSensitive) override fun isFileSystemCheckIgnoredFor(file: File): Boolean =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go
expressionAccessors []ExpressionAccessor }{ { name: "valid UserValidationCondition", expressionAccessors: []ExpressionAccessor{ &ExtraMappingExpression{ Expression: "user.username == 'bar'", }, }, }, } compiler := NewCompiler(environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true)) for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/event/target/postgresql.go
if !args.Host.IsEmpty() { params = append(params, "host="+args.Host.String()) } if args.Port != "" { params = append(params, "port="+args.Port) } if args.Username != "" { params = append(params, "username="+args.Username) } if args.Password != "" { params = append(params, "password="+args.Password) } if args.Database != "" { params = append(params, "dbname="+args.Database) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go
allErrs = append(allErrs, field.Invalid(fldPath.Child("username", "expression"), m.Username.Expression, "claims.email_verified must be used in claimMappings.username.expression or claimMappings.extra[*].valueExpression or claimValidationRules[*].expression when claims.email is used in claimMappings.username.expression")) } return allErrs } func usesEmailClaim(ast *celgo.Ast) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 31.3K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1.SelfSubjectReview.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "status": { "userInfo": { "username": "usernameValue", "uid": "uidValue", "groups": [ "groupsValue" ], "extra": { "extraKey": [ "extraValue" ] } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.4K bytes - Viewed (0) -
src/net/http/request_test.go
r, _ := NewRequest("GET", "http://example.com/", nil) r.SetBasicAuth(tt.username, tt.password) username, password, ok := r.BasicAuth() if ok != tt.ok || username != tt.username || password != tt.password { t.Errorf("BasicAuth() = %#v, want %#v", getBasicAuthTest{username, password, ok}, getBasicAuthTest{tt.username, tt.password, tt.ok}) } } // Unauthenticated request.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0)