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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      This method returns the name of the algorithm.
      String getRestrictedUserIds()
      This method returns an expression containing the restricted user identifiers.
      IRole[] getRoles()
      This method returns the roles in case of an non external implementation.
      boolean isExternal()
      This method returns an indicator whether the algorithm uses an external implementation.
    • Method Detail

      • 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.