Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 101 for get_user (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            resolver.resolve(LocalUserCredential.class, credential -> {
                final LocalUserCredential userCredential = credential;
                final String username = userCredential.getUser();
                final String password = userCredential.getPassword();
                if (!fessConfig.isAdminUser(username)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/NtlmTest.java

            Type3Message parsed = new Type3Message(t3.toByteArray());
    
            assertEquals(domain, parsed.getDomain());
            assertEquals(user, parsed.getUser());
            assertEquals(workstation, parsed.getWorkstation());
    
            assertArrayEquals(lmResponse, parsed.getLMResponse());
            assertArrayEquals(ntResponse, parsed.getNTResponse());
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

        }
    
        @Override
        public String toString() {
            return "{" + getUserId() + "}";
        }
    
        @Override
        public String getUserId() {
            return nameId;
        }
    
        public SamlUser getUser() {
            return new SamlUser(nameId, sessionIndex, nameIdFormat, nameidNameQualifier, nameidSPNameQualifier, getDefaultGroupsAsArray(),
                    getDefaultRolesAsArray());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/admin-handlers-users-race_test.go

    	}
    
    	userCount := 50
    	accessKeys := make([]string, userCount)
    	secretKeys := make([]string, userCount)
    	for i := 0; i < userCount; i++ {
    		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{policy},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    		value, err := ldapID.Retrieve()
    		if err != nil {
    			c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    		}
    
    		// Retrieve the STS account's credential object.
    		u, ok := globalIAMSys.GetUser(ctx, value.AccessKeyID)
    		if !ok {
    			c.Fatalf("Expected to find user %s", value.AccessKeyID)
    		}
    
    		if u.Credentials.AccessKey != value.AccessKeyID {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                b.append('"').append(StringEscapeUtils.escapeJson(p.getName())).append("\":{");
                append(b, "count", () -> p.getCount()).append(',');
                append(b, "used", () -> p.getUsed().getBytes()).append(',');
                append(b, "capacity", () -> p.getTotalCapacity().getBytes()).append('}');
                return b.toString();
            }).collect(Collectors.joining(",")));
            buf.append("},");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top