class MongoDbAuthorityRepository implements AuthorityRepository {

    @Override
    public void delete(Authority item) {
        template.remove(getByAuthority(item.getAuthority()), AUTHORITY_COLLECTION);
    }

}