Interface IJQuerySecurityProvider


  • public interface IJQuerySecurityProvider
    Specifies that the implementing class is able to provide a verification/approval on user roles and/or permissions
    Author:
    Sebastien Briquet - sebfz1
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasRole​(String... roles)
      Indicates whether the user has the required role and/or permissions.
      Implementation is free to define the strategy.
    • Method Detail

      • hasRole

        boolean hasRole​(String... roles)
        Indicates whether the user has the required role and/or permissions.
        Implementation is free to define the strategy.
        Parameters:
        roles - the roles and/or permissions to check
        Returns:
        the strategy result