Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 101 for get_user (0.3 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertNoMoreLogs()
      }
    
      @Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
      @Test
      fun sensitiveQueryParamsAreRedacted() {
        url = server.url("/api/login?user=test_user&authentication=basic&password=confidential_password")
        val networkInterceptor =
          HttpLoggingInterceptor(networkLogs).setLevel(
            Level.BASIC,
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/Constants.java

        public static final String PROCESS_TYPE_BOTH = "B";
    
        public static final long ONE_DAY_IN_MILLIS = 24L * 60L * 60L * 1000L;
    
        public static final String GUEST_USER = "guest";
    
        public static final String[] PAGER_CONVERSION_RULE =
                { "allRecordCount", "pageSize", "currentPageNumber", "allPageCount", "existPrePage", "existNextPage" };
    
        // crawler types
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 22 12:43:18 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            searchLog.setQueryOffset(pageStart);
            searchLog.setQueryPageSize(pageSize);
            ComponentUtil.getRequestManager().findUserBean(FessUserBean.class).ifPresent(user -> {
                searchLog.setUser(user.getUserId());
            });
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        public String getUsername() {
            final RequestManager requestManager = ComponentUtil.getRequestManager();
            return requestManager.findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        public Date getCurrentTime() {
            return new Date(getCurrentTimeAsLong());
        }
    
        public long getCurrentTimeAsLong() {
            return System.currentTimeMillis();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        .get(stream -> stream.map(s -> permissionHelper.encode(s)).filter(StringUtil::isNotBlank).collect(Collectors.toList()));
                list.add(getRoleSearchUserPrefix() + Constants.GUEST_USER);
                propMap.put(SEARCH_GUEST_ROLE_LIST, list);
            }
            return list;
        }
    
        String getIndexAdminArrayFields();
    
        default Set<String> getIndexAdminArrayFieldSet() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top