Interface IAuthorizationAlgorithmDefinition

All Known Implementing Classes:
AuthorizationAlgorithmDefinition

public interface IAuthorizationAlgorithmDefinition
This interface describes an authorization algorithm. With this algorithm one can evaluate the required roles.
Since:
9.1
Author:
A.Pragt
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the name of the algorithm.
    This method returns an expression containing the restricted user identifiers.
    This method returns the roles in case of an non external implementation.
    boolean
    This method returns an indicator whether the algorithm uses an external implementation.
  • Method Details

    • getName

      String getName()
      This method returns the name of the algorithm.
      Returns:
      The name of the algorithm, never null.
    • isExternal

      boolean isExternal()
      This method returns an indicator whether the algorithm uses an external implementation.
      Returns:
      Indicator to use external implementation.
    • getRestrictedUserIds

      String getRestrictedUserIds()
      This method returns an expression containing the restricted user identifiers.
      Returns:
      The expression to be evaluated or null.
    • getRoles

      IRole[] getRoles()
      This method returns the roles in case of an non external implementation.
      Returns:
      The roles or null.