Permalink
Browse files

The usages of new Query General module

  • Loading branch information...
1 parent ffa4e20 commit ade5d7b10e5ee9beea6d2667061569e8b3926ae3 @timf timf committed Jun 10, 2011
@@ -30,7 +30,7 @@
import org.nimbustools.ctxbroker.service.ContextBrokerHomeImpl;
import org.nimbustools.ctxbroker.service.ContextBrokerResourceImpl;
import org.nimbustools.ctxbroker.service.ContextBrokerServiceImpl;
-import org.nimbustools.messaging.query.security.QueryUser;
+import org.nimbustools.querygeneral.security.QueryUser;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.SecurityContextHolder;
@@ -13,6 +13,7 @@ nimbus.messaging.gt4_0.common.dist.dir=../../../gt4.0/java/common/dist/
nimbus.messaging.gt4_0-elastic.dist.dir=../../../gt4.0-elastic/java/msgbridge/dist/
nimbus.service.api.dist.dir=../../../../service-api/java/source/dist/
nimbus.authzdb.dist.dir=../../../../authzdb/dist/
+nimbus.querygen.dist.dir=../../../../query/dist
nimbus.service.dist.dir=../../../../service/service/java/source/dist/
# (gar is the 'dist' of stubs but we only want the jars... will be better later)
@@ -74,13 +74,14 @@
<include name="*.jar"/>
</fileset>
- <fileset dir="${nimbus.service.dist.dir}">
+ <fileset dir="${nimbus.authzdb.dist.dir}">
<include name="*.jar"/>
</fileset>
- <fileset dir="${nimbus.authzdb.dist.dir}">
+ <fileset dir="${nimbus.querygen.dist.dir}">
<include name="*.jar"/>
</fileset>
+
</path>
<target name="compile" depends="init">
@@ -20,6 +20,8 @@
import org.nimbus.authz.AuthzDBAdapter;
import org.nimbus.authz.AuthzDBException;
import org.nimbus.authz.UserAlias;
+import org.nimbustools.querygeneral.security.QueryUser;
+import org.nimbustools.querygeneral.security.QueryUserDetailsService;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.dao.DataAccessException;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
@@ -18,6 +18,8 @@
import org.apache.commons.codec.binary.Base64;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
+import org.nimbustools.querygeneral.security.QueryUser;
+import org.nimbustools.querygeneral.security.QueryUserDetailsService;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.web.filter.GenericFilterBean;
@@ -15,6 +15,7 @@
*/
package org.nimbustools.messaging.query.security;
+import org.nimbustools.querygeneral.security.QueryUser;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.Authentication;
@@ -15,6 +15,8 @@
*/
package org.nimbustools.messaging.query.security;
+import org.nimbustools.querygeneral.security.QueryUser;
+import org.nimbustools.querygeneral.security.QueryUserDetailsService;
import org.nimbustools.api._repr._Caller;
import org.nimbustools.api.brain.ModuleLocator;
import org.nimbustools.api.repr.Caller;

0 comments on commit ade5d7b

Please sign in to comment.