Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newGlobalAuthNPluginFn (0.22 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 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)
    	}
    
    	// Load IAM data from storage.
    	for {
    		if err := sys.Load(retryCtx, true); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top