security working with custom service adapter