When the law subordinates the exercise of a right to the provision of security, it is said to be legal.
Where the law confers on the judge the power to make the satisfaction of a claim subject to the provision of security, it is said to be judicial.