Interface STMSecurityStrategy

All Known Implementing Classes:
StmSecurityStrategyImpl

public interface STMSecurityStrategy
An interface that would be used to invoke a security strategy. The strategy would be used to check if a certain transition is allowed for a principal. The notion of principals is not there in STM. Instead, we assume that this strategy has access to the invoking principal (via a thread local for instance) that would allow it to determine if the principal has the requisite privileges.
Author:
Raja Shankar Kolluru
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAllowed(String... acls)
     
  • Method Details

    • isAllowed

      boolean isAllowed(String... acls)