git://wamblee.org
/
photos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8845e7f
)
working persistence.xml with authorization.
author
Erik Brakkee
<erik@brakkee.org>
Sat, 14 Sep 2013 21:08:09 +0000
(23:08 +0200)
committer
Erik Brakkee
<erik@brakkee.org>
Sat, 14 Sep 2013 21:08:09 +0000
(23:08 +0200)
src/main/java/META-INF/persistence.xml
patch
|
blob
|
history
diff --git
a/src/main/java/META-INF/persistence.xml
b/src/main/java/META-INF/persistence.xml
index 0a4525ed820a969943d07bc667863d7f206dfb79..df1adabf61ba5cf1ccefe14a30b859ac36ad3d25 100644
(file)
--- a/
src/main/java/META-INF/persistence.xml
+++ b/
src/main/java/META-INF/persistence.xml
@@
-10,7
+10,6
@@
<class>org.wamblee.security.authentication.User</class>
<class>org.wamblee.security.authentication.Group</class>
<class>org.wamblee.security.authentication.User</class>
<class>org.wamblee.security.authentication.Group</class>
- <!--
<class>org.wamblee.security.authorization.AbstractUserCondition</class>
<class>org.wamblee.security.authorization.AnyUserCondition</class>
<class>org.wamblee.security.authorization.GroupUserCondition</class>
<class>org.wamblee.security.authorization.AbstractUserCondition</class>
<class>org.wamblee.security.authorization.AnyUserCondition</class>
<class>org.wamblee.security.authorization.GroupUserCondition</class>
@@
-21,18
+20,16
@@
<class>org.wamblee.security.authorization.StartsWithPathCondition</class>
<class>org.wamblee.security.authorization.AbstractAuthorizationRule</class>
<class>org.wamblee.security.authorization.StartsWithPathCondition</class>
<class>org.wamblee.security.authorization.AbstractAuthorizationRule</class>
+ <class>org.wamblee.security.authorization.UrlAuthorizationRule</class>
+ <class>org.wamblee.photos.security.PhotoAuthorizationRule</class>
<class>org.wamblee.security.authorization.AbstractAuthorizationService</class>
<class>org.wamblee.security.authorization.DefaultAuthorizationService</class>
<class>org.wamblee.security.authorization.AbstractAuthorizationService</class>
<class>org.wamblee.security.authorization.DefaultAuthorizationService</class>
- -->
<!-- from the photo app, subclass of UrlAuthorizationRule -->
<!-- from the photo app, subclass of UrlAuthorizationRule -->
- <!--
- <class>org.wamblee.photos.authorizationrules.PhotoAuthorizationRule</class>
- -->
-
+
<exclude-unlisted-classes>true</exclude-unlisted-classes>
</persistence-unit>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
</persistence-unit>