getAllRoles made public

Signed-off-by: Frode Marton Meling <fm@saltship.com>
Checking for null

Signed-off-by: Frode Marton Meling <fm@saltship.com>
Removed protected function getAllRoles

Signed-off-by: Frode Marton Meling <fm@saltship.com>