import org.wamblee.photos.model.Album;
import org.wamblee.photos.model.PhotoEntry;
import org.wamblee.photos.model.plumbing.AllPhotos;
+import org.wamblee.photos.model.plumbing.AuthorizedPhotos;
import org.wamblee.security.authentication.User;
import org.wamblee.security.authentication.UserAdministration;
@AllPhotos
private Album album;
- // @Inject
- // @AuthorizedPhotos
- // private Album authorized;
+ @Inject
+ @AuthorizedPhotos
+ private Album authorized;
/**
* Constructor that is invoked when page is invoked without a session.
entry.getPath());
}
- /*
System.out.println("Authorized Entries: " + authorized.size());
for (int i = 0; i < authorized.size(); i++) {
PhotoEntry entry = authorized.getEntry(i);
System.out.println("Entry " + i + " " + entry.getId() + " " +
entry.getPath());
}
- */
}
}