Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for targetUser (0.13 sec)

  1. cmd/admin-handlers-idp-ldap.go

    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	var (
    		targetGroups []string
    		err          error
    	)
    
    	// If we are creating svc account for request sender, ensure that targetUser
    	// is a real user (i.e. not derived credentials).
    	if isSvcAccForRequestor {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	}
    	// If the request did not set a TargetUser, the service account is
    	// created for the request sender.
    	targetUser := createReq.TargetUser
    	if targetUser == "" {
    		targetUser = cred.AccessKey
    	}
    
    	description := createReq.Description
    	if description == "" {
    		description = createReq.Comment
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    		TargetUser: tgtUser,
    	})
    	if err != nil {
    		c.Fatalf("user should be able to create service accounts %s", err)
    	}
    	return cr
    }
    
    func (c *check) mustNotCreateSvcAccount(ctx context.Context, tgtUser string, admClnt *madmin.AdminClient) {
    	c.Helper()
    	_, err := admClnt.AddServiceAccount(ctx, madmin.AddServiceAccountReq{
    		TargetUser: tgtUser,
    	})
    	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. cmd/sts-handlers_test.go

       ],
       "Resource": [
        "arn:aws:s3:::%s/*"
       ]
      }
     ]
    }`, bucket))
    		cr, err := userAdmClient.AddServiceAccount(ctx, madmin.AddServiceAccountReq{
    			Policy:     policyBytes,
    			TargetUser: value.AccessKeyID,
    			AccessKey:  svcAK,
    			SecretKey:  svcSK,
    		})
    		if err != nil {
    			c.Fatalf("Unable to create svc acc: %v", err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/DuplicateHost.java

            asDocMeta().version(version);
        }
    
        public String convert(final String url) {
            final String targetStr = getDuplicateHostName().replace(".", "\\.");
            return url.replaceFirst("://" + targetStr + "$", "://" + getRegularName()).replaceFirst("://" + targetStr + "([:/])",
                    "://" + getRegularName() + "$1");
        }
    
        @Override
        public String toString() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. .github/workflows/maven.yml

                  target_branch=$branch
                  target_user=$user
                else
                  echo "Could not find fork \"$user/$repo\" or a branch \"$branch\" in this fork. Falling back to \"$target_branch\" in \"$target_user/$repo\"."
                fi
              else
                echo "Integration tests will run against $target_user/$repo for master builds."
              fi
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        }
    
        public void setDeleteCommand(final String[] deleteCommand) {
            this.deleteCommand = deleteCommand;
        }
    
        public void setTargetUsers(final String[] targetUsers) {
            this.targetUsers = targetUsers;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. internal/event/targetlist.go

    	stats, ok := list.targetStats[id]
    	if !ok {
    		stats = targetStat{}
    	}
    
    	stats.totalEvents++
    	list.targetStats[id] = stats
    	return
    }
    
    type asyncEvent struct {
    	ev        Event
    	targetSet TargetIDSet
    }
    
    // Add - adds unique target to target list.
    func (list *TargetList) Add(targets ...Target) error {
    	list.Lock()
    	defer list.Unlock()
    
    	for _, target := range targets {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/main/resources/app.xml

    					"$USERNAME",
    					"$PASSWORD"
    					]</property>
    					<property name="deleteCommand">[
    					"/usr/sbin/htpasswd",
    					"-D",
    					"/tmp/test.txt",
    					"$USERNAME"
    					]</property>
    					<property name="targetUsers">[
    					"admin"
    					]</property>
    				</component>
    			</arg>
    		</postConstruct>
    		 -->
    		<postConstruct name="addChain">
    			<arg>
    				<component class="org.codelibs.fess.auth.chain.LdapChain">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Nov 19 02:22:47 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. tests/query_test.go

    	}
    	if lastBatch != 3 {
    		t.Fatalf("incorrect last batch, expected: %v, got: %v", 3, lastBatch)
    	}
    
    	targetUsers := users[3:8]
    	for i := 0; i < len(targetUsers); i++ {
    		AssertEqual(t, results[i], targetUsers[i])
    	}
    
    	var sub1 []User
    	// limit < batchSize
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top