Class AbstractGatewayAccessControlStrategy
java.lang.Object
com.inductiveautomation.ignition.gateway.dataroutes.AbstractAccessControlStrategy
com.inductiveautomation.ignition.gateway.dataroutes.AbstractGatewayAccessControlStrategy
- All Implemented Interfaces:
AccessControlStrategy
- Direct Known Subclasses:
ApiTokenManager.TokenAccessControl
,SecurityZoneAccessControlStrategy
,WebUiSession.WebUiSessionAccessControl
An access control strategy that understands how to map the
PermissionType
enum to the gateways' configured
required permissions far that type.
In other words, if the access type is PermissionType.WRITE
, this strategy will look up the permissions
for the "Config" permissions in the gateway's system properties.
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.ignition.gateway.dataroutes.AbstractAccessControlStrategy
EMPTY_SECURITY_LEVELS
Fields inherited from interface com.inductiveautomation.ignition.gateway.dataroutes.AccessControlStrategy
OPEN_ROUTE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractGatewayAccessControlStrategy
(PermissionType permissionType) -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<PermissionsConfig>
getRequiredPermissions
(RequestContext context) Get the required permissions for the given request.toString()
Methods inherited from class com.inductiveautomation.ignition.gateway.dataroutes.AbstractAccessControlStrategy
canAccess, getSecurityLevels
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.gateway.dataroutes.AccessControlStrategy
getWwwAuthenticateHeader, validate
-
Field Details
-
permissionType
-
-
Constructor Details
-
AbstractGatewayAccessControlStrategy
-
-
Method Details
-
getRequiredPermissions
Description copied from class:AbstractAccessControlStrategy
Get the required permissions for the given request. If more than one permissions config is returned, the route will be granted access if any of the permissions configs are satisfied. In other words, the returned configs are OR-ed together.- Specified by:
getRequiredPermissions
in classAbstractAccessControlStrategy
-
toString
-