- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 63 for GetUser (0.07 sec)
-
tests/upsert_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0) -
cmd/sftp-server.go
} if globalIAMSys.LDAPConfig.Enabled() { perms, _ := processLDAPAuthentication(key, pass, user) if perms != nil { return perms, nil } } internalAuth: ui, ok := globalIAMSys.GetUser(context.Background(), user) if !ok { return nil, errNoSuchUser } if caPublicKey != nil && pass == nil { err := validateKey(c, key) if err != nil { return nil, errAuthentication }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java
} @Override public void resolveCredential(final LoginCredentialResolver resolver) { resolver.resolve(AzureAdCredential.class, credential -> OptionalEntity.of(credential.getUser())); } public void setAcquisitionTimeout(final long acquisitionTimeout) { this.acquisitionTimeout = acquisitionTimeout; } public void setGroupCacheExpiry(final long groupCacheExpiry) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 28.2K bytes - Viewed (0) -
cmd/sts-handlers_test.go
`, bucket, bucket)) err = s.adm.AddCannedPolicy(ctx, policy, policyBytes) if err != nil { c.Fatalf("policy add error: %v", err) } accessKey, secretKey := mustGenerateCredentials(c) err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) } _, err = s.adm.AttachPolicy(ctx, madmin.PolicyAssociationReq{ Policies: []string{policy},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0) -
cmd/iam-store.go
// HasWatcher - returns if the storage system has a watcher. func (store *IAMStoreSys) HasWatcher() bool { _, ok := store.IAMStorageAPI.(iamStorageWatcher) return ok } // GetUser - fetches credential from memory. func (store *IAMStoreSys) GetUser(user string) (UserIdentity, bool) { cache := store.rlock() defer store.runlock() u, ok := cache.iamUsersMap[user] if !ok { // Check the sts map
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0) -
cmd/peer-rest-server.go
bucketName := r.Form.Get(peerRESTBucket) enableSha256 := r.Form.Get(peerRESTEnableSha256) == "true" enableMultipart := r.Form.Get(peerRESTEnableMultipart) == "true" u, ok := globalIAMSys.GetUser(r.Context(), r.Form.Get(peerRESTAccessKey)) if !ok { s.writeErrorResponse(w, errAuthentication) return } size, err := strconv.Atoi(sizeStr) if err != nil { size = 64 * humanize.MiByte
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
tests/migrate_test.go
_, err = findColumnType(&RelationModel2{}, "id") if err == nil { t.Errorf("RelationModel2 should not be migrated") } } func TestMigrateView(t *testing.T) { DB.Save(GetUser("joins-args-db", Config{Pets: 2})) if err := DB.Migrator().CreateView("invalid_users_pets", gorm.ViewOption{Query: nil}); err != gorm.ErrSubQueryRequired { t.Fatalf("no view should be created, got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
cmd/site-replication.go
return nil, errSRPeerNotFound } return getAdminClient(endpoint, creds.AccessKey, creds.SecretKey) } func (c *SiteReplicationSys) getPeerCreds() (*auth.Credentials, error) { u, ok := globalIAMSys.store.GetUser(c.state.ServiceAccountAccessKey) if !ok { return nil, errors.New("site replication service account not found") } return &u.Credentials, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout) defer cancel() // 1. Create a user. accessKey, secretKey := mustGenerateCredentials(c) err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) } // 2. Check new user appears in listing usersMap, err := s.adm.ListUsers(ctx) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 47.3K bytes - Viewed (0) -
cmd/sftp-server_test.go
ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout) defer cancel() accessKey, secretKey := mustGenerateCredentials(c) err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) } userReq := madmin.PolicyAssociationReq{ Policies: []string{"readwrite"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 8.3K bytes - Viewed (0)