class UberfireRoleManager implements RoleManager,
                                            ContextualManager {

    @Override
    public List<Role> getAll() throws SecurityManagementException {
        return new ArrayList<>(RoleRegistry.get().getRegisteredRoles());
    }

}