dde authorization rules and authorized album.
[photos] / src / main / java / org / wamblee / photos / wicket / HomePage.java
index a6126b7c2cdaaf79ea47b687d1bc3d5c47fa3a67..ccb667034e39cf7bd512dfaada84396f83b280c0 100644 (file)
@@ -44,6 +44,10 @@ public class HomePage extends BasePage {
     @AllPhotos
     private Album album;
 
+    // @Inject
+    // @AuthorizedPhotos
+    // private Album authorized;
+
     /**
      * Constructor that is invoked when page is invoked without a session.
      * 
@@ -68,5 +72,14 @@ public class HomePage extends BasePage {
             System.out.println("Entry " + i + " " + entry.getId() + " " +
                 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());
+        }
+        */
     }
 }