Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 244 for users3 (0.17 sec)

  1. cmd/admin-handlers-users.go

    			return
    		}
    		for user := range users {
    			checkedUserList = append(checkedUserList, user)
    		}
    		checkedUserList = append(checkedUserList, globalActiveCred.AccessKey)
    	} else {
    		for _, user := range users {
    			// Validate the user
    			_, ok := globalIAMSys.GetUser(ctx, user)
    			if !ok {
    				continue
    			}
    			checkedUserList = append(checkedUserList, user)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-ldap.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	userDN := r.Form.Get("userDN")
    
    	// If listing is requested for a specific user (who is not the request
    	// sender), check that the user has permissions.
    	if userDN != "" && userDN != cred.ParentUser {
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/get-current-user.md

    ///
    
    ```Python hl_lines="10"
    {!> ../../docs_src/security/tutorial001.py!}
    ```
    
    ////
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model
    
    First, let's create a Pydantic user model.
    
    The same way we use Pydantic to declare bodies, we can use it anywhere else:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="5  12-16"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/test/resources/org/apache/maven/toolchain/user.xml

    under the License.
    -->
    
    <toolchains>
      <toolchain>
         <type>basic</type>
         <configuration>
           <user>true</user>
         </configuration>
      </toolchain>
      <toolchain>
         <type>rare</type>
         <configuration>
           <user>true</user>
         </configuration>
      </toolchain>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     * If the artifacts are found locally, Maven uses them directly, which speeds
     * up the build process by avoiding unnecessary downloads.</p>
     *
     * <p>By default, the local repository is located in the {@code .m2/repository}
     * directory within the user's home directory ({@code ~/.m2/repository} on
     * Unix-like systems or {@code C:\Users\YourName\.m2\repository} on Windows).
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inactive user
    
    Now try with an inactive user, authenticate with:
    
    User: `alice`
    
    Password: `secret2`
    
    And try to use the operation `GET` with the path `/users/me`.
    
    You will get an "Inactive user" error, like:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    		return nil, err
    	}
    
    	m.Range(func(user string, mappedPolicy MappedPolicy) bool {
    		if userPredicate != nil && !userPredicate(user) {
    			return true
    		}
    		stsMap[user] = mappedPolicy.Policies
    		return true
    	})
    
    	for user := range store.getParentUsers(cache) {
    		if _, ok := stsMap[user]; !ok {
    			if userPredicate != nil && !userPredicate(user) {
    				continue
    			}
    			stsMap[user] = ""
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    	mappedPolicies := make([]MappedPolicy, len(users))
    	g := errgroup.WithNErrs(len(users))
    
    	for index := range users {
    		index := index
    		g.Go(func() error {
    			userName := strings.TrimSuffix(users[index], ".json")
    			userMP, err := iamOS.loadMappedPolicyInternal(ctx, userName, userType, isGroup)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/first-steps.md

    But in this case, the same **FastAPI** application will handle the API and the authentication.
    
    So, let's review it from that simplified point of view:
    
    * The user types the `username` and `password` in the frontend, and hits `Enter`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top