Class ApiTokenManager.TokenAccessControl
java.lang.Object
com.inductiveautomation.ignition.gateway.dataroutes.AbstractAccessControlStrategy
com.inductiveautomation.ignition.gateway.dataroutes.AbstractGatewayAccessControlStrategy
com.inductiveautomation.ignition.gateway.auth.apitoken.ApiTokenManager.TokenAccessControl
- All Implemented Interfaces:
AccessControlStrategy
- Enclosing interface:
- ApiTokenManager
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.gateway.dataroutes.AbstractGatewayAccessControlStrategy
permissionType
Fields inherited from class com.inductiveautomation.ignition.gateway.dataroutes.AbstractAccessControlStrategy
EMPTY_SECURITY_LEVELS
Fields inherited from interface com.inductiveautomation.ignition.gateway.dataroutes.AccessControlStrategy
OPEN_ROUTE
-
Method Summary
Modifier and TypeMethodDescriptiongetActor
(RequestContext request) If this request is authenticated with an API token, return the actor string for the token.protected com.google.common.collect.ImmutableCollection<SecurityLevelConfig>
getSecurityLevels
(RequestContext request) Methods inherited from class com.inductiveautomation.ignition.gateway.dataroutes.AbstractGatewayAccessControlStrategy
getRequiredPermissions, toString
Methods inherited from class com.inductiveautomation.ignition.gateway.dataroutes.AbstractAccessControlStrategy
canAccess
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
-
Method Details
-
getSecurityLevels
protected com.google.common.collect.ImmutableCollection<SecurityLevelConfig> getSecurityLevels(RequestContext request) - Specified by:
getSecurityLevels
in classAbstractAccessControlStrategy
- Returns:
- The security levels associated with the request.
-
getActor
If this request is authenticated with an API token, return the actor string for the token.
-