From: erik Date: Fri, 30 Apr 2010 22:05:34 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.2.2^2~16 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=7dc664849a3f9e379d80467a989be0fc5d4edbad;p=utils --- 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; }