See https://bitbucket.org/unicon/apogee-sso/src/master/broker/src/main/java/us/apogee/stream2/controller/AdminUserController.java