Subversion Repository Public Repository

litesoft

Diff Revisions 952 vs 953 for /trunk/Java/GWT/Server/src/org/litesoft/security/SecurityUserViewPoServerVoDataProvider.java

Diff revisions: vs.
  @@ -168,7 +168,7 @@
168 168 }
169 169
170 170 private void initializeRealDB() {
171 - ServerContext.get().getServerStore().set( DataStore.class, ServerContext.getMasterServerStore().get( DataStore.class ) ); // Master DS
171 + ServerContext.get().getServerStore().set( DataStore.class, ServerStores.getMaster().get( DataStore.class ) ); // Master DS
172 172 }
173 173
174 174 private void initializeDemoDB() {
  @@ -187,7 +187,7 @@
187 187 abstract protected SecurityUserView finiUserLogin( SecurityUser<PO> pUser );
188 188
189 189 private SecurityUser<PO> getUserByEmailFromMasterDS( String pLogonEmail ) {
190 - return getUserByEmail( ServerContext.getMasterServerStore().get( DataStore.class ).getUnfilteredFinder(), pLogonEmail );
190 + return getUserByEmail( ServerStores.getMaster().get( DataStore.class ).getUnfilteredFinder(), pLogonEmail );
191 191 }
192 192
193 193 private SecurityUser<PO> getUserByEmailFromCurrentDS( String pLogonEmail ) {