- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 63 for SetUser (0.05 sec)
-
tests/soft_delete_test.go
import ( "database/sql" "encoding/json" "errors" "regexp" "testing" "github.com/jinzhu/now" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestSoftDelete(t *testing.T) { user := *GetUser("SoftDelete", Config{}) DB.Save(&user) var count int64 var age uint if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/KerberosTest.java
} } @Override public Kerb5Authenticator clone () { Kerb5Authenticator auth = new RefreshableKerb5Authenticator(getSubject(), getUserDomain(), getUser(), getPassword()); cloneInternal(auth, this); return auth; } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 11.5K 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) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
return samlCredential; } @Override public void resolveCredential(final LoginCredentialResolver resolver) { resolver.resolve(SamlCredential.class, credential -> OptionalEntity.of(credential.getUser())); } @Override public String logout(final FessUserBean user) { if (user.getFessUser() instanceof SamlUser) { return LaRequestUtil.getOptionalRequest().map(request -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
appendJson("user-info-id", entity.getUserInfoId(), buf).append(','); appendJson("user-session-id", entity.getUserSessionId(), buf).append(','); appendJson("user", entity.getUser(), buf).append(','); appendJson("search-word", entity.getSearchWord(), buf).append(','); appendJson("hit-count", entity.getHitCount(), buf).append(',');
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
cmd/admin-handlers-users.go
if accessKey == globalActiveCred.AccessKey { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL) return } user, exists := globalIAMSys.GetUser(ctx, accessKey) if exists && (user.Credentials.IsTemp() || user.Credentials.IsServiceAccount()) { // Updating STS credential is not allowed, and this API does not // support updating service accounts.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
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/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)