Thanks Adrian,

I had actually changed SecurityConfigurationException to extend GeneralRuntimeException instead of GeneralException, but that didn't get checked in.

Andrew

On Apr 29, 2009, at 7:18 PM, [email protected] wrote:

Author: adrianc
Date: Wed Apr 29 23:18:24 2009
New Revision: 769991

URL: http://svn.apache.org/viewvc?rev=769991&view=rev
Log:
Fixed a problem with the new auth code that was preventing compilation.

Modified:
ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/ test/AuthorizationTests.java

Modified: ofbiz/trunk/applications/securityext/src/org/ofbiz/ securityext/test/AuthorizationTests.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/test/AuthorizationTests.java?rev=769991&r1=769990&r2=769991&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/ test/AuthorizationTests.java (original) +++ ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/ test/AuthorizationTests.java Wed Apr 29 23:18:24 2009
@@ -2,6 +2,7 @@

import org.ofbiz.base.util.Debug;
import org.ofbiz.entity.GenericDelegator;
+import org.ofbiz.security.SecurityConfigurationException;
import org.ofbiz.security.authz.Authorization;
import org.ofbiz.security.authz.AuthorizationFactory;
import org.ofbiz.service.testtools.OFBizTestCase;
@@ -12,7 +13,7 @@
    protected GenericDelegator delegator;
    protected Authorization security;

-    public AuthorizationTests(String name) {
+ public AuthorizationTests(String name) throws SecurityConfigurationException {
        super(name);
        delegator = GenericDelegator.getGenericDelegator("default");
        security = AuthorizationFactory.getInstance(delegator);



Reply via email to