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
permissionTypeFields inherited from class com.inductiveautomation.ignition.gateway.dataroutes.AbstractAccessControlStrategy
EMPTY_SECURITY_LEVELSFields 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, toStringMethods inherited from class com.inductiveautomation.ignition.gateway.dataroutes.AbstractAccessControlStrategy
canAccessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getSecurityLevelsin 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.
-