- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for setUser (0.1 sec)
-
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/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) -
tests/transaction_test.go
t.Fatalf("Should find saved record") } } func TestNestedTransactionWithBlock(t *testing.T) { var ( user = *GetUser("transaction-nested", Config{}) user1 = *GetUser("transaction-nested-1", Config{}) user2 = *GetUser("transaction-nested-2", Config{}) ) if err := DB.Transaction(func(tx *gorm.DB) error { tx.Create(&user)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java
if (userGroups == null) { userGroups = getDefaultGroupsAsArray(); } return userGroups; } public OpenIdUser getUser() { return new OpenIdUser(getUserId(), getUserGroups(), getDefaultRolesAsArray()); } protected static String[] getDefaultGroupsAsArray() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
throw new UncheckedIOException(e); } } /** * Automatically accept changes that are valid property upgrades of a getter or setter. * * Here we automatically accept the following cases: * - A setter `setX` of an upgraded property is removed * - A boolean `isX` of an upgraded property is removed
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 02 14:20:08 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/config/dns/etcd_dns.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 15:03:08 UTC 2024 - 8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
* is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either * have a public setter or be backed by an equally named field (of any visibility). * * @since 3.0 */ public interface BeanConfigurator { /** * Performs the specified bean configuration. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/iam.go
case <-sys.configLoaded: default: err = sys.store.LoadUser(ctx, accessKey) loadUserCalled = true } u, ok = sys.store.GetUser(accessKey) if !ok && !loadUserCalled { err = sys.store.LoadUser(ctx, accessKey) loadUserCalled = true u, ok = sys.store.GetUser(accessKey) } if !ok && loadUserCalled && err != nil { iamLogOnceIf(ctx, err, accessKey) // return 503 to application
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
// check file size responseData.setContentLength(file.getSize()); checkMaxContentLength(responseData); if (file.getUser() != null) { responseData.addMetaData(FTP_FILE_USER, file.getUser()); } if (file.getGroup() != null) { responseData.addMetaData(FTP_FILE_GROUP, file.getGroup()); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
} @Override public void resolveCredential(final LoginCredentialResolver resolver) { resolver.resolve(OpenIdConnectCredential.class, credential -> OptionalEntity.of(credential.getUser())); } @Override public ActionResponse getResponse(final SsoResponseType responseType) { return null; } @Override public String logout(final FessUserBean user) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 12.3K bytes - Viewed (0)