class DefaultSessionService implements SessionService {

	@Override
	public List<String> getGroups() {
		List<String> groups = new ArrayList<>();
		User user = getUser();
		
		for (Group group : user.getGroups()) {
			groups.add(group.getTitle());
		}
		
		return groups;
	}

}