public class CalendarWebDAVProvider implements WebDAVProvider {
private static final String MOUNT_POINT = "calendars";
public VFSContainer getContainer(Identity identity) {
VirtualContainer calendars = new VirtualContainer("calendars");
calendars.setLocalSecurityCallback(new ReadOnlyCallback());
// get private calendar
CalendarManager calendarManager = CalendarManagerFactory.getInstance().getCalendarManager();
File fPersonalCalendar = calendarManager.getCalendarICalFile(CalendarManager.TYPE_USER, identity.getName());
calendars.addItem(new LocalFileImpl(fPersonalCalendar));
return calendars;
}