Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Starter ¶
type Starter struct {
// contains filtered or unexported fields
}
Starter auto-configures the security stack when security configuration is present.
func New ¶
func New(cfg helixconfig.Loader) *Starter
New creates a Starter using the provided configuration loader.
func (*Starter) ConditionFromContainer ¶
ConditionFromContainer evaluates the security starter activation after application components have been registered.
Priority (highest to lowest):
- helix.starters.security.enabled = false → inactive (absolute override)
- helix.starters.security.enabled = true → active (absolute override)
- security.* key present in config → active (config-key detection)
- container holds a helixsecurity.Configurer → active (component marker)
- otherwise → inactive
Click to show internal directories.
Click to hide internal directories.