Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 259 for authZ (0.03 sec)

  1. cmd/globals.go

    	return globalAuthZPlugin
    }
    
    func setGlobalAuthNPlugin(authn *idplugin.AuthNPlugin) {
    	globalAuthPluginMutex.Lock()
    	globalAuthNPlugin = authn
    	globalAuthPluginMutex.Unlock()
    }
    
    func setGlobalAuthZPlugin(authz *polplugin.AuthZPlugin) {
    	globalAuthPluginMutex.Lock()
    	globalAuthZPlugin = authz
    	globalAuthPluginMutex.Unlock()
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  2. cmd/kms-handlers.go

    		Prefix: r.Form.Get("pattern"),
    	})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Get the cred and owner for checking authz below.
    	cred, owner, s3Err := validateAdminSignature(ctx, r, "")
    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    		return ErrSTSAccessDenied
    	}
    }
    
    func checkAssumeRoleAuth(ctx context.Context, r *http.Request) (auth.Credentials, APIErrorCode) {
    	if !isRequestSignatureV4(r) {
    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	s3Err := isReqAuthenticated(ctx, r, globalSite.Region(), serviceSTS)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	user, _, s3Err := getReqAccessKeyV4(r, globalSite.Region(), serviceSTS)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. cmd/logging.go

    	logger.LogIf(ctx, "admin", err, errKind...)
    }
    
    func authNLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "authN", err, errKind...)
    }
    
    func authZLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "authZ", err, errKind...)
    }
    
    func peersLogIf(ctx context.Context, err error, errKind ...any) {
    	if !errors.Is(err, grid.ErrDisconnected) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. cmd/iam.go

    		return updatedAt, errServerNotInitialized
    	}
    
    	if !auth.IsAccessKeyValid(accessKey) {
    		return updatedAt, auth.ErrInvalidAccessKeyLength
    	}
    
    	if auth.ContainsReservedChars(accessKey) {
    		return updatedAt, auth.ErrContainsReservedChars
    	}
    
    	if !auth.IsSecretKeyValid(ureq.SecretKey) {
    		return updatedAt, auth.ErrInvalidSecretKeyLength
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    	case accountName == globalActiveCred.AccessKey || newGlobalAuthZPluginFn() != nil:
    		// For owner account and when plugin authZ is configured always set
    		// effective policy as `consoleAdmin`.
    		//
    		// In the latter case, we let the UI render everything, but individual
    		// actions would fail if not permitted by the external authZ service.
    		for _, policy := range policy.DefaultPolicies {
    			if policy.Name == "consoleAdmin" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            NtlmPasswordAuthenticator auth1 =
                    new NtlmPasswordAuthenticator("DOMAIN", "user", password1, NtlmPasswordAuthenticator.AuthenticationType.USER);
    
            assertEquals("DOMAIN", auth1.getUserDomain());
            assertEquals("user", auth1.getUsername());
            assertEquals("TypedPass123!", auth1.getPassword());
            assertFalse(auth1.isGuest());
            assertFalse(auth1.isAnonymous());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertNotEquals(auth1, auth4);
            assertNotEquals(auth1, new Object());
        }
    
        // Test hashCode method
        @Test
        void testHashCode() {
            NtlmPasswordAuthentication auth1 = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            NtlmPasswordAuthentication auth2 = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            assertEquals(auth1.hashCode(), auth2.hashCode());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                    auth1.equals(auth3);
                    auth2.equals(auth3);
                }
                long totalTime = System.nanoTime() - startTime;
    
                // Should complete in reasonable time (< 10ms for 3000 operations)
                assertTrue(totalTime < 10_000_000L, "Null/empty password comparisons taking too long: " + totalTime + " ns");
            } finally {
                auth1.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.30.md

    ### API Change
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 18 18:59:10 UTC 2025
    - 398.1K bytes
    - Viewed (0)
Back to top