Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newGlobalAuthNPluginFn (0.31 sec)

  1. cmd/globals.go

    	// Indicates if server was started as `--address ":0"`
    	globalDynamicAPIPort bool
    
    	// Add new variable global values here.
    )
    
    var globalAuthPluginMutex sync.Mutex
    
    func newGlobalAuthNPluginFn() *idplugin.AuthNPlugin {
    	globalAuthPluginMutex.Lock()
    	defer globalAuthPluginMutex.Unlock()
    	return globalAuthNPlugin
    }
    
    func newGlobalAuthZPluginFn() *polplugin.AuthZPlugin {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    	defer logger.AuditLog(ctx, w, r, claims, auditLogFilterKeys...)
    
    	if !globalIAMSys.Initialized() {
    		writeSTSErrorResponse(ctx, w, ErrSTSIAMNotInitialized, errIAMNotInitialized)
    		return
    	}
    
    	authn := newGlobalAuthNPluginFn()
    	if authn == nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSNotInitialized, errors.New("STS API 'AssumeRoleWithCustomToken' is disabled"))
    		return
    	}
    
    	action := r.Form.Get(stsAction)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. cmd/iam.go

    	// From OpenID
    	if riMap := sys.OpenIDConfig.GetRoleInfo(); riMap != nil {
    		sys.validateAndAddRolePolicyMappings(ctx, riMap)
    	}
    
    	// From AuthN plugin if enabled.
    	if authn := newGlobalAuthNPluginFn(); authn != nil {
    		riMap := authn.GetRoleInfo()
    		sys.validateAndAddRolePolicyMappings(ctx, riMap)
    	}
    
    	sys.printIAMRoles()
    
    	bootstrapTraceMsg("finishing IAM loading")
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top