implements security service principal