Class SecurityPropertiesResource
java.lang.Object
com.inductiveautomation.ignition.gateway.model.resources.AbstractPropertyMapResource
com.inductiveautomation.ignition.gateway.model.resources.SecurityPropertiesResource
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractPropertyMapResource
AbstractPropertyMapResource.PropertyResourceGsonAdapter<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceTypeMeta<SecurityPropertiesResource> static final ResourceTypeResourceType: ignition/security-propertiesThe GatewaySystemProperties that are stored in this resourceFields inherited from class AbstractPropertyMapResource
GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy(List<PropertyValue> props) Returns the ordered, immutable list of configured system identity providers (never null).Returns the configured unauthenticated system identity provider name - the IdP whose rules grant security levels to unauthenticated Designer sessions - or null when none is configured.static StringnormalizeIdp(Object value) Normalizes a raw single-IdP property value (e.g.normalizeIdpList(Object listValue) Normalizes a rawGatewaySystemProperties.SystemIdentityProvidersvalue to an immutable list of non-null, non-blank IdP names (never null).Methods inherited from class AbstractPropertyMapResource
buildDefaultResource, buildSchema, getField, getProperties, modifyProperties, modifyProperty
-
Field Details
-
RESOURCE_TYPE
ResourceType: ignition/security-properties -
SECURITY_PROPS
-
META
-
-
Constructor Details
-
SecurityPropertiesResource
-
-
Method Details
-
copy
-
copy
-
getSystemIdentityProviders
Returns the ordered, immutable list of configured system identity providers (never null).Legacy pre-2027 (single-IdP) configs are migrated to the list form when the resource is constructed (see
foldLegacyIdentityProvider(Map)), so this is a straight read ofGatewaySystemProperties.SystemIdentityProviders. -
getUnauthenticatedSystemIdentityProvider
Returns the configured unauthenticated system identity provider name - the IdP whose rules grant security levels to unauthenticated Designer sessions - or null when none is configured. Applies only to the Designer.Pre-2027 configs are seeded from the legacy single-IdP scalar in
foldLegacyIdentityProvider(Map). -
normalizeIdp
Normalizes a raw single-IdP property value (e.g.GatewaySystemProperties.UnauthenticatedSystemIdentityProvider) to its IdP name, or null when unset/blank. The scalar counterpart tonormalizeIdpList(Object), tolerant of the sameSystemIdentityProvider/Map/string forms the value can take. Exposed for callers that read the property directly viaSystemPropertiesManager. -
normalizeIdpList
Normalizes a rawGatewaySystemProperties.SystemIdentityProvidersvalue to an immutable list of non-null, non-blank IdP names (never null). Exposed for callers that read the property directly viaSystemPropertiesManager(e.g. the login-redirect spoofing guards).Tolerates every form the property value can take:
SystemIdentityProviderobjects (the in-memory form),Maps (the form Gson produces when deserializing the rawListproperty from disk), and bare strings (pre-object configs already persisted, and the legacy single-IdP scalar). All are reduced to their name.
-