Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 310 for mypolicy (0.05 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      private fun Sink.withThrottlingAndSocketEffect(
        policy: MockResponse,
        socketEffect: SocketEffect?,
        expectedByteCount: Long,
        socket: MockWebServerSocket,
        stream: Http2Stream? = null,
      ): Sink {
        var result: Sink = this
    
        if (policy.throttlePeriodNanos > 0L) {
          result =
            ThrottledSink(
              socket = socket,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", -42, ph));
            }
    
            @Test
            @DisplayName("should handle null policy handle")
            void testNullPolicyHandleHandled() {
                // Act & Assert - The constructor accepts null policy handle without throwing
                assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", 0, null));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. cmd/bucket-versioning-handler.go

    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	bucketVersioningConfig = "versioning.xml"
    
    	// Maximum size of bucket versioning configuration payload sent to the PutBucketVersioningHandler.
    	maxBucketVersioningConfigSize = 1 * humanize.MiByte
    )
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/config-current.go

    	"github.com/minio/minio/internal/config/ilm"
    	"github.com/minio/minio/internal/config/lambda"
    	"github.com/minio/minio/internal/config/notify"
    	"github.com/minio/minio/internal/config/policy/opa"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/scanner"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		Description:    "Policy name may not contain comma",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminOpenIDNotEnabled: {
    		Code:           "OpenIDNotEnabled",
    		Description:    "No enabled OpenID Connect identity providers",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrPolicyTooLarge: {
    		Code:           "PolicyTooLarge",
    		Description:    "Policy exceeds the maximum allowed document size.",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
  6. cmd/jwt.go

    	"net/http"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	jwtreq "github.com/golang-jwt/jwt/v4/request"
    	"github.com/minio/minio/internal/auth"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 100 years approx.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. cmd/auth-handler_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"io"
    	"net/http"
    	"net/url"
    	"os"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/pkg/v3/policy"
    )
    
    type nullReader struct{}
    
    func (r *nullReader) Read(b []byte) (int, error) {
    	return len(b), nil
    }
    
    // Test get request auth type.
    func TestGetRequestAuthType(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    			// Register PutBucket Policy handler.
    			bucket.Methods(http.MethodPut).HandlerFunc(api.PutBucketPolicyHandler).Queries("policy", "")
    		case "DeleteBucketPolicy":
    			// Register Delete bucket HTTP policy handler.
    			bucket.Methods(http.MethodDelete).HandlerFunc(api.DeleteBucketPolicyHandler).Queries("policy", "")
    		case "GetBucketPolicy":
    			// Register Get Bucket policy HTTP Handler.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  9. cmd/metrics.go

    			AccessKey: claims.AccessKey,
    			Claims:    claims.Map(),
    			Groups:    groups,
    		}
    
    		// For authenticated users apply IAM policy.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PrometheusAdminAction,
    			ConditionValues: getConditionValues(r, "", cred),
    			IsOwner:         owner,
    			Claims:          cred.Claims,
    		}) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. docs/hotfixes.md

    Date:   Sat Jun 15 11:27:17 2019 -0700
    
        [security] Match ${aws:username} exactly instead of prefix match (#7791)
    
        This PR fixes a security issue where an IAM user based
        on his policy is granted more privileges than restricted
        by the users IAM policy.
    
        This is due to an issue of prefix based Matcher() function
        which was incorrectly matching prefix based on resource
        prefixes instead of exact match.
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top