From 2612029db62fd8af2140bd6fd9c557fbe34d6f63 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Fri, 30 Apr 2010 22:05:34 +0000 Subject: [PATCH] --- .../wamblee/usermgt/hibernate/AuthorizationComponent.java | 4 ++-- .../usermgt/hibernate/AuthorizationLightComponent.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationComponent.java b/security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationComponent.java index 941ecfe5..2c01e65e 100644 --- a/security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationComponent.java +++ b/security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationComponent.java @@ -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. diff --git a/security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationLightComponent.java b/security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationLightComponent.java index 39a37dae..29e2984d 100644 --- a/security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationLightComponent.java +++ b/security/jpatest/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationLightComponent.java @@ -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 createProvided() { Map provided = new HashMap(); - 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; } -- 2.31.1