From 562755fd98ee5661532ae14df234eeaa9f25b5e5 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sat, 21 Sep 2013 18:15:24 +0200 Subject: [PATCH] added commented-out part for schema initialization. --- src/main/java/META-INF/persistence.xml | 75 ++++++++++++++------------ 1 file changed, 40 insertions(+), 35 deletions(-) diff --git a/src/main/java/META-INF/persistence.xml b/src/main/java/META-INF/persistence.xml index 1686251..2682b2c 100644 --- a/src/main/java/META-INF/persistence.xml +++ b/src/main/java/META-INF/persistence.xml @@ -1,37 +1,42 @@ - - - jdbc/PhotoXChange - - - org.wamblee.security.authentication.User - org.wamblee.security.authentication.Group - - org.wamblee.security.authorization.AbstractUserCondition - org.wamblee.security.authorization.AnyUserCondition - org.wamblee.security.authorization.GroupUserCondition - org.wamblee.security.authorization.AbstractOperationCondition - org.wamblee.security.authorization.IsaOperationCondition - org.wamblee.security.authorization.AbstractPathCondition - org.wamblee.security.authorization.RegexpPathCondition - org.wamblee.security.authorization.StartsWithPathCondition - - org.wamblee.security.authorization.AbstractAuthorizationRule - org.wamblee.security.authorization.UrlAuthorizationRule - org.wamblee.photos.security.PhotoAuthorizationRule - org.wamblee.photos.security.PageAuthorizationRule - - - org.wamblee.security.authorization.AbstractAuthorizationService - org.wamblee.security.authorization.DefaultAuthorizationService - - - - - true - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" + version="2.0"> + + + jdbc/PhotoXChange + + + org.wamblee.security.authentication.User + org.wamblee.security.authentication.Group + + org.wamblee.security.authorization.AbstractUserCondition + org.wamblee.security.authorization.AnyUserCondition + org.wamblee.security.authorization.GroupUserCondition + org.wamblee.security.authorization.AbstractOperationCondition + org.wamblee.security.authorization.IsaOperationCondition + org.wamblee.security.authorization.AbstractPathCondition + org.wamblee.security.authorization.RegexpPathCondition + org.wamblee.security.authorization.StartsWithPathCondition + + org.wamblee.security.authorization.AbstractAuthorizationRule + org.wamblee.security.authorization.UrlAuthorizationRule + org.wamblee.photos.security.PhotoAuthorizationRule + org.wamblee.photos.security.PageAuthorizationRule + + + org.wamblee.security.authorization.AbstractAuthorizationService + org.wamblee.security.authorization.DefaultAuthorizationService + + + + + true + + + \ No newline at end of file -- 2.31.1