Browse Source

Add createOrUpdate to methods (by default).

Matthew Porter 20 years ago
parent
commit
9723ac61c6

+ 1 - 1
domain/src/main/java/org/acegisecurity/domain/validation/ValidationAdvisor.java

@@ -48,7 +48,7 @@ public class ValidationAdvisor extends StaticMethodMatcherPointcutAdvisor
     //~ Instance fields ========================================================
 
     private Class supportsClass;
-    private String[] methods = {"create", "update"};
+    private String[] methods = {"create", "update", "createOrUpdate"};
 
     //~ Constructors ===========================================================