The following persons or classes shall not be bail bondsmen or agents of bail bondsmen or surety companies and shall not directly or indirectly receive any benefits from the execution of any bail bond: jailers, attorneys, police officers, convicted felons, committing magistrates, municipal or magistrate court judges, clerks or deputy clerks, sheriffs, deputy sheriffs and constables, and any person having the power to arrest or having anything to do with the control of federal, state, county or municipal prisoners.