Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for authnmodel (0.09 sec)

  1. pilot/pkg/security/authn/utils/utils.go

    		TlsMinimumProtocolVersion: minTLSVersion,
    		TlsMaximumProtocolVersion: tls.TlsParameters_TLSv1_3,
    	}
    	authn_model.ApplyToCommonTLSContext(ctx.CommonTlsContext, node, []string{}, /*subjectAltNames*/
    		"", /*crl*/
    		trustDomainAliases, ctx.RequireClientCertificate.Value)
    
    	// Compliance for downstream mesh mTLS.
    	authn_model.EnforceCompliance(ctx.CommonTlsContext)
    	return ctx
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/authorizer/modes/modes_test.go

    limitations under the License.
    */
    
    package modes
    
    import "testing"
    
    func TestIsValidAuthorizationMode(t *testing.T) {
    	var tests = []struct {
    		authzMode string
    		expected  bool
    	}{
    		{"", false},
    		{"rBAC", false},        // not supported
    		{"falsy value", false}, // not supported
    		{"RBAC", true},         // supported
    		{"ABAC", true},         // supported
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 23 13:27:16 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/authorizer/modes/modes.go

    // IsValidAuthorizationMode returns true if the given authorization mode is a valid one for the apiserver
    func IsValidAuthorizationMode(authzMode string) bool {
    	return sets.NewString(AuthorizationModeChoices...).Has(authzMode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 05 01:22:41 UTC 2018
    - 1.6K bytes
    - Viewed (0)
Back to top