Class HasPermissionFluigImpl

    • Method Detail

      • isPermitted

        public boolean isPermitted​(String token,
                                   String feature)
        Verify on Authorization Service if user has permission for a feature.
        Specified by:
        isPermitted in interface HasPermission
        Parameters:
        token - value of the Authorization header Bearer token.
        feature - value of the feature that will be verified in the authorization service.
        Returns:
        true if the permission is granted in permissions URI, false otherwise.