/**
 * @author Thomas Bellembois
 * @version
 * 
 * Creation date : 19 juil. 2006
 * Last modification :
 */
package org.esupportail.webdavserver.store.uPortal;

import java.util.Map;
import java.util.TreeMap;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		String uri = "/roles/uPortal/local.0/local.101/local.103/pags.UFRETU/pags.ETU_922/pags.ETU_T11441";
		String currentRole = "/roles/uPortal/local.0/local.101/local.103/pags.UFRETU/pags.ETU_922";
		
	    //if (currentRole.indexOf(uri.toString()) != -1) uriIsInGroupsOfConnectedUser=true;
		System.out.println(uri.indexOf(currentRole));
		//if (currentRole.indexOf(uri.toString()) != -1) uriIsInGroupsOfConnectedUser=true;
	}
}
