class SecurityManagementUtils {

    public static Set<String> getRegisteredRoleNames() {
        Set<Role> registered = RoleRegistry.get().getRegisteredRoles();
        Set<String> result = new HashSet<String>(registered.size() + 1);
        result.addAll(rolesToString(registered));
        return result;
    }

}