(no commit message)
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Fri, 30 Apr 2010 22:05:34 +0000 (22:05 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Fri, 30 Apr 2010 22:05:34 +0000 (22:05 +0000)
security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationComponent.java
security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationLightComponent.java

index 941ecfe5898c4c37b6cff1c445500ced34d199cc..2c01e65eb367c9235fe8e3d14c06daa54cdddd9e 100644 (file)
@@ -21,7 +21,7 @@ import javax.sql.DataSource;
 
 import org.springframework.orm.hibernate3.HibernateTemplate;
 import org.springframework.transaction.PlatformTransactionManager;
-import org.wamblee.security.authorization.AuthorizationService;
+import org.wamblee.security.authorization.AbstractAuthorizationService;
 import org.wamblee.security.authorization.hibernate.AuthorizationMappingFiles;
 import org.wamblee.system.adapters.DefaultContainer;
 import org.wamblee.system.adapters.ObjectConfiguration;
@@ -46,7 +46,7 @@ public class AuthorizationComponent extends DefaultContainer {
         "hibernateTemplate", HibernateTemplate.class);
 
     private ProvidedInterface authorizationService = new DefaultProvidedInterface(
-        "authorizationService", AuthorizationService.class);
+        "authorizationService", AbstractAuthorizationService.class);
 
     /**
      * Creates a new AuthorizationComponent object.
index 39a37dae6bdbfaa9235808deeb81e3f706595d85..29e2984d9989757bf586911ae7ae047e475fab5e 100644 (file)
@@ -19,7 +19,7 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.springframework.orm.hibernate3.HibernateTemplate;
-import org.wamblee.security.authorization.AuthorizationService;
+import org.wamblee.security.authorization.AbstractAuthorizationService;
 import org.wamblee.system.core.DefaultProvidedInterface;
 import org.wamblee.system.core.DefaultRequiredInterface;
 import org.wamblee.system.core.ProvidedInterface;
@@ -57,9 +57,9 @@ public class AuthorizationLightComponent extends SpringComponent {
 
     private static Map<String, ProvidedInterface> createProvided() {
         Map<String, ProvidedInterface> provided = new HashMap<String, ProvidedInterface>();
-        provided.put(AuthorizationService.class.getName(),
-            new DefaultProvidedInterface(AuthorizationService.class.getName(),
-                AuthorizationService.class));
+        provided.put(AbstractAuthorizationService.class.getName(),
+            new DefaultProvidedInterface(AbstractAuthorizationService.class.getName(),
+                AbstractAuthorizationService.class));
 
         return provided;
     }